Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/devel In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv2211
Modified Files: binutils.info Log Message: update from tracker #2988592. Index: binutils.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/devel/binutils.info,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- binutils.info 12 Jan 2009 00:06:13 -0000 1.4 +++ binutils.info 23 Apr 2010 00:56:35 -0000 1.5 @@ -1,57 +1,94 @@ Package: binutils -Version: 2.17 -Revision: 3 +Version: 2.20.1 +Revision: 6 Source: mirror:gnu:%n/%n-%v.tar.bz2 -Source-MD5: e26e2e06b6e4bf3acf1dc8688a94c0d1 -ConfigureParams: --infodir=%i/share/info --mandir=%i/share/man --program-prefix=g -BuildDependsOnly: True -BuildConflicts: dejagnu -BuildDepends: fink (>= 0.24.12-1) -Depends: binutils-dev -PatchFile: binutils.patch -PatchFile-MD5: a6c84a968150e70e1b619accbb0320a1 -InfoDocs: bfd.info binutils.info configure.info +Source-MD5: 9cdfb9d6ec0578c166d3beae5e15c4e5 +ConfigureParams: --infodir=%p/share/info --mandir=%p/share/man --program-prefix=g +BuildDepends: libgettext8-dev, fink (>= 0.24.12-1) +Depends: libgettext8-shlibs +PatchScript: sed -i.bak -e 's,^skipdirs=$,skipdirs="gas ld gdb gprof",' configure + CompileScript: << #!/bin/sh -ev + dver=`uname -r|cut -f1 -d.` mkdir ../darwin_objdir cd ../darwin_objdir export CC="cc -no-cpp-precomp" - %b/configure %c + %b/configure %c --build=%m-apple-darwin$dver --host=%m-apple-darwin$dver --target=%m-apple-darwin$dver make - make check +<< +InfoTest: << + TestDepends: dejagnu + TestScript: cd ../darwin_objdir; make -k check || : << InstallScript: << #!/bin/sh -ev + dver=`uname -r|cut -f1 -d.` cd ../darwin_objdir - make install prefix=%i + make install DESTDIR=%d rm %i/share/info/standards.info - mv %i/%m-apple-darwin`uname -r` %i/share - filenames=( addr2line objcopy objdump readelf ) + mv %i/%m-apple-darwin$dver %i/lib +## make sure libiberty.a is found at the same place on 32bit and 64bit : + L=`ls -1 %i/lib/%m 2>/dev/null|sed -e 's,^,%m/,'|xargs` + if [ -n "$L" ] ; then ln -fs $L %i/lib ; fi +## stripping "g" prefixes from executables not provided by Apple + filenames="addr2line objcopy objdump readelf" + for f in filenames; do rm -f %i/lib/%f; done # Fix executables cd %i/bin - for filename in ${filenam...@]} + for filename in $filenames do mv g$filename $filename done # Fix Man files cd %i/share/man/man1 - for filename in ${filenam...@]} + for filename in $filenames do mv g$filename.1 $filename.1 done + # Replace duplicates by symlinks + for f in ar nm strip; do ln -fs ../lib/%m-apple-darwin${dver}/bin/$f %i/bin/g$f; done + for f in objcopy objdump; do ln -fs ../lib/%m-apple-darwin${dver}/bin/$f %i/bin/$f; done + # prepare for update-alternatives (binutils vs gdb); avoid hardcoding: long list, likely to change at every %v + cd %i/share/locale + for f in `find . -name bfd.mo -o -name opcodes.mo`; do mv $f "`dirname $f`/%N-`basename $f`"; done << +PostInstScript: << +## we start by putting a fixed item (not likely to disappear) at the top of the list, +## to make sure we always have the same master, in both pkgs + cmd=$(l=`find %p/share/locale -name %N-bfd.mo -o -name %N-opcodes.mo` + { fgrep "/fr/LC_MESSAGES/%N-bfd.mo" <<<"$l" + fgrep -v "/fr/LC_MESSAGES/%N-bfd.mo" <<<"$l" + } | while read file ; do \ + f=`sed -e 's,/%N-,/,' <<<"$file"` + n=`sed -e 's,/LC_MESSAGES/,_,' -e 's,.*/,,' <<<"$f"` + echo "--slave $f $n $file \\" + done | \ + sed -e '1s,--slave,update-alternatives --install,' -e '1s,[\],60 \\,' -e '$s,[\]$,,' ) + ## for documentation + echo "$cmd" + eval "$cmd" +<< +## No test for upgrade in PreRmScript, since list is likely to change with %v +PreRmScript: << + update-alternatives --remove fr_bfd.mo %p/share/locale/fr/LC_MESSAGES/%N-bfd.mo +<< +InfoDocs: bfd.info binutils.info configure.info +DocFiles: COPYING README + SplitOff: << - Package: binutils-dev - Files: lib/libbfd.a lib/libbfd.la lib/libiberty.a lib/libopcodes.a lib/libopcodes.la include/ansidecl.h include/bfd.h include/bfdlink.h include/dis-asm.h include/symcat.h + Package: %N-dev + InstallScript: mkdir -p %i/lib; if [ -d %I/lib/%m ] ; then mv %I/lib/%m %i/lib; fi + Files: lib/*.{l,}a include DocFiles: COPYING << -DocFiles: COPYING README + Description: Collection of binary tools DescDetail: << The GNU Binutils are a collection of binary tools. The main ones are: ld - the GNU linker. as - the GNU assembler. - + But they also include: addr2line - Converts addresses into filenames and line numbers. ar - A utility for creating, modifying and extracting from archives. @@ -73,5 +110,5 @@ http://binutils.darwinports.com/dports/devel/binutils/Portfile << License: GPL -Maintainer: Pepe Barbe <pepe.ba...@gmail.com> +Maintainer: Jack Howarth <howa...@bromo.med.uc.edu> Homepage: http://www.gnu.org/software/binutils/ ------------------------------------------------------------------------------ _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs