OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   05-Jun-2007 19:48:37
  Branch: HEAD                             Handle: 2007060518483600

  Modified files:
    openpkg-src/binutils    binutils.spec

  Log:
    do not build as(1), ld(1) and strip(1) on Mac OS X (blind attempt)

  Summary:
    Revision    Changes     Path
    1.77        +6  -4      openpkg-src/binutils/binutils.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/binutils/binutils.spec
  ============================================================================
  $ cvs diff -u -r1.76 -r1.77 binutils.spec
  --- openpkg-src/binutils/binutils.spec        29 May 2007 08:32:15 -0000      
1.76
  +++ openpkg-src/binutils/binutils.spec        5 Jun 2007 17:48:36 -0000       
1.77
  @@ -33,7 +33,7 @@
   Group:        Compiler
   License:      GPL
   Version:      2.17
  -Release:      20070529
  +Release:      20070605
   
   #   list of sources
   Source0:      
ftp://sources.redhat.com/pub/binutils/releases/binutils-%{version}.tar.bz2
  @@ -81,6 +81,7 @@
           *-linux*   ) CFLAGS="$CFLAGS -DOPENPKG_OS_LINUX"   ;;
           *-sunos*   ) CFLAGS="$CFLAGS -DOPENPKG_OS_SOLARIS" ;;
           *-aix*     ) ARGS="$ARGS --without-gnu-as --without-gnu-ld" ;;
  +        *-darwin*  ) ARGS="$ARGS --without-gnu-as --without-gnu-ld" ;;
       esac
       case "%{l_platform -t}" in
           amd64-sunos* ) ARGS="$ARGS --enable-64-bit-bdf" ;;
  @@ -118,9 +119,10 @@
       #   GNU binutils strip(1) is broken on AIX,
       #   use of OS supplied /usr/bin/strip from bos.rte.bind_cmds is mandatory
       case "%{l_platform -t}" in
  -        *-aix*     ) rm $RPM_BUILD_ROOT%{l_prefix}/bin/strip \
  -                        $RPM_BUILD_ROOT%{l_prefix}/man/man1/strip.1
  -                     ;;
  +        *-aix* | *-darwin )
  +            rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/strip \
  +                  $RPM_BUILD_ROOT%{l_prefix}/man/man1/strip.1
  +            ;;
       esac
   
       #   strip down installation
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to