[43575] trunk/dports/devel/binutils/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Thu Dec 11 21:16:43 PST 2008


Revision: 43575
          http://trac.macports.org/changeset/43575
Author:   mcalhoun at macports.org
Date:     2008-12-11 21:16:43 -0800 (Thu, 11 Dec 2008)
Log Message:
-----------
binutils: Update version 2.17 -> 2.19.
Do not build in a separate directory since the README file no longer advises it.
Do not add -no-cpp-precomp compiler option anymore.
The patchfile is no longer needed.
Fixes r17515 (maintainer timeout).

Modified Paths:
--------------
    trunk/dports/devel/binutils/Portfile

Modified: trunk/dports/devel/binutils/Portfile
===================================================================
--- trunk/dports/devel/binutils/Portfile	2008-12-12 05:01:43 UTC (rev 43574)
+++ trunk/dports/devel/binutils/Portfile	2008-12-12 05:16:43 UTC (rev 43575)
@@ -2,7 +2,7 @@
 
 PortSystem			1.0
 name				binutils
-version				2.17
+version				2.19
 
 description			FSF Binutils for native development.
 long_description	Free Software Foundation development toolchain ("binutils") \
@@ -14,26 +14,24 @@
 homepage			http://www.gnu.org/software/binutils/binutils.html
 master_sites		gnu:binutils
 use_bzip2			yes
-checksums			md5 e26e2e06b6e4bf3acf1dc8688a94c0d1 \
-					sha1 a557686eef68362ea31a3aa41ce274e3eeae1ef0 \
-					rmd160 3995d7ed97f115e76ce55b4c1f5256d53559c84f
+checksums			md5 17a52219dee5a76c1a9d9b0bfd337d66 \
+					sha1 a150b97ec47996bf8f01d6bc14d41587faa4bbff \
+					rmd160 1d5e234e22dbd9cd126ccfd685bf5700dc36ad1a
 
-# Build in a different directory, as advised in the README file.
-pre-configure   	{ system "cd ${workpath} && mkdir -p build"}
-configure.dir   	${workpath}/build
-configure.cmd   	${worksrcpath}/configure
-configure.cc   		"cc -no-cpp-precomp"
+depends_lib-append	port:zlib port:libiconv
+
 configure.args  	--infodir='${prefix}/share/info' \
 					--mandir='${prefix}/share/man' \
 					--program-prefix=g
-build.dir       	${workpath}/build
 
+# The Makefile runs configure again in subdirectories.
+# It correcty passes along most configure variables (CFLAGS, LDFLAGS, ...),
+#    but seems to neglect CPPFLAGS.
+build.env-append	CPPFLAGS='-I${prefix}/include'
+
 # Binutils violates the mtree layout by creating ${prefix}/<arch>/
 destroot.violate_mtree	yes
 
-# Fix the configure script to build bfd, binutils and opcode.
-patchfiles			patch-configure
-					
 # We don't want the etc module.
 post-extract {
 	system "rm -rf ${worksrcpath}/etc"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081211/050572f6/attachment.html>


More information about the macports-changes mailing list