OpenPKG CVS Repository
  http://www.openpkg.org/cvsweb/cvsweb.cgi
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-web, openpkg-src         Date:   22-Aug-2002 12:00:36
  Branch: HEAD                             Handle: 2002082211003302

  Modified files:
    openpkg-src/binutils    binutils.spec
    openpkg-web             news.txt

  Log:
    add ELF platform branding support for FreeBSD, Linux and Solaris

  Summary:
    Revision    Changes     Path
    1.23        +11 -5      openpkg-src/binutils/binutils.spec
    1.1358      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  Index: openpkg-src/binutils/binutils.spec
  ============================================================
  $ cvs diff -u -r1.22 -r1.23 binutils.spec
  --- openpkg-src/binutils/binutils.spec        13 Aug 2002 12:47:33 -0000      1.22
  +++ openpkg-src/binutils/binutils.spec        22 Aug 2002 10:00:35 -0000      1.23
  @@ -33,10 +33,11 @@
   Group:        Utility
   License:      GPL
   Version:      2.13
  -Release:      20020807
  +Release:      20020822
   
   #   list of sources
   Source0:      
ftp://sources.redhat.com/pub/binutils/releases/binutils-%{version}.tar.bz2
  +Patch0:       binutils.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -64,12 +65,17 @@
   
   %prep
       %setup -q
  +    %patch -p0
   
   %build
  -    PATH="%{l_prefix}/bin:%{l_prefix}/sbin:$PATH"
  -    export PATH
  -    CC="%{l_cc}" \
  -    CFLAGS="%{l_cflags -O}" \
  +    PATH="%{l_prefix}/bin:%{l_prefix}/sbin:$PATH"; export PATH
  +    CC="%{l_cc}"; export CC
  +    CFLAGS="%{l_cflags -O}"; export CFLAGS
  +    case "%{l_target}" in
  +        *-freebsd* ) CFLAGS="$CFLAGS -DOPENPKG_OS_FREEBSD" ;;
  +        *-linux*   ) CFLAGS="$CFLAGS -DOPENPKG_OS_LINUX"   ;;
  +        *-solaris* ) CFLAGS="$CFLAGS -DOPENPKG_OS_SOLARIS" ;;
  +    esac
       ./configure \
           --prefix=%{l_prefix}
       %{l_make} %{l_mflags}
  Index: openpkg-web/news.txt
  ============================================================
  $ cvs diff -u -r1.1357 -r1.1358 news.txt
  --- openpkg-web/news.txt      22 Aug 2002 09:57:03 -0000      1.1357
  +++ openpkg-web/news.txt      22 Aug 2002 10:00:33 -0000      1.1358
  @@ -1,3 +1,4 @@
  +22-Aug-2002: Upgraded package: P<binutils-2.13-20020822>
   22-Aug-2002: Upgraded package: P<heise-2.1.9-20020822>
   22-Aug-2002: Upgraded package: P<sendmail-8.12.5-20020822>
   22-Aug-2002: Upgraded package: P<kerberos-1.2.5-20020822>
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to