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:   09-Jun-2007 09:00:44
  Branch: HEAD                             Handle: 2007060908004300

  Modified files:
    openpkg-src/binutils    binutils.spec

  Log:
    ranlib also doesn't work under Mac OS X

  Summary:
    Revision    Changes     Path
    1.80        +8  -3      openpkg-src/binutils/binutils.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/binutils/binutils.spec
  ============================================================================
  $ cvs diff -u -r1.79 -r1.80 binutils.spec
  --- openpkg-src/binutils/binutils.spec        8 Jun 2007 20:15:10 -0000       
1.79
  +++ openpkg-src/binutils/binutils.spec        9 Jun 2007 07:00:43 -0000       
1.80
  @@ -33,7 +33,7 @@
   Group:        Compiler
   License:      GPL
   Version:      2.17
  -Release:      20070608
  +Release:      20070609
   
   #   list of sources
   Source0:      
ftp://sources.redhat.com/pub/binutils/releases/binutils-%{version}.tar.bz2
  @@ -116,8 +116,11 @@
           includedir=$RPM_BUILD_ROOT%{l_prefix}/include/binutils \
           libdir=$RPM_BUILD_ROOT%{l_prefix}/lib/binutils
   
  -    #   GNU binutils strip(1) is broken on AIX,
  -    #   use of OS supplied /usr/bin/strip from bos.rte.bind_cmds is mandatory
  +    #   platform specific stripping down of installation:
  +    #   o   GNU binutils strip(1) is broken on AIX, use of OS supplied
  +    #       /usr/bin/strip from bos.rte.bind_cmds is mandatory.
  +    #   o   GNU binutils strip(1), ar(1) and ranlib(1) do not work under
  +    #       Mac OS X (aka Darwin), system versions have to be used.
       case "%{l_platform -t}" in
           *-aix* )
               rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/strip \
  @@ -128,6 +131,8 @@
                     $RPM_BUILD_ROOT%{l_prefix}/man/man1/strip.1
               rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/ar \
                     $RPM_BUILD_ROOT%{l_prefix}/man/man1/ar.1
  +            rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/ranlib \
  +                  $RPM_BUILD_ROOT%{l_prefix}/man/man1/ranlib.1
               ;;
       esac
   
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to