OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 29-May-2007 10:32:15 Branch: HEAD Handle: 2007052909321500 Modified files: openpkg-src/binutils binutils.spec Log: GNU binutils strip(1) is broken on AIX Summary: Revision Changes Path 1.76 +9 -1 openpkg-src/binutils/binutils.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/binutils/binutils.spec ============================================================================ $ cvs diff -u -r1.75 -r1.76 binutils.spec --- openpkg-src/binutils/binutils.spec 19 Apr 2007 10:53:40 -0000 1.75 +++ openpkg-src/binutils/binutils.spec 29 May 2007 08:32:15 -0000 1.76 @@ -33,7 +33,7 @@ Group: Compiler License: GPL Version: 2.17 -Release: 20070419 +Release: 20070529 # list of sources Source0: ftp://sources.redhat.com/pub/binutils/releases/binutils-%{version}.tar.bz2 @@ -115,6 +115,14 @@ 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 + case "%{l_platform -t}" in + *-aix* ) rm $RPM_BUILD_ROOT%{l_prefix}/bin/strip \ + $RPM_BUILD_ROOT%{l_prefix}/man/man1/strip.1 + ;; + esac + # strip down installation rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir rm -f $RPM_BUILD_ROOT%{l_prefix}/info/standards.info @@ . ______________________________________________________________________ OpenPKG http://openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org