[28077] trunk/dports/cross/arm-apple-darwin-binutils/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sun Aug 19 16:16:47 PDT 2007


Revision: 28077
          http://trac.macosforge.org/projects/macports/changeset/28077
Author:   landonf at macports.org
Date:     2007-08-19 16:16:47 -0700 (Sun, 19 Aug 2007)

Log Message:
-----------
Install ar, add a ranlib link

Modified Paths:
--------------
    trunk/dports/cross/arm-apple-darwin-binutils/Portfile

Modified: trunk/dports/cross/arm-apple-darwin-binutils/Portfile
===================================================================
--- trunk/dports/cross/arm-apple-darwin-binutils/Portfile	2007-08-19 19:36:33 UTC (rev 28076)
+++ trunk/dports/cross/arm-apple-darwin-binutils/Portfile	2007-08-19 23:16:47 UTC (rev 28077)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 name			arm-apple-darwin-binutils
 version			r118
-revision		1
+revision		2
 categories		cross iphone
 maintainers		landonf at macports.org openmaintainer at macports.org
 description		Binutils for arm-apple-darwin (iPhone) cross development
@@ -48,13 +48,20 @@
 }
 
 destroot {
+	# Install missing binaries
+	xinstall -m 755 ${worksrcpath}/cctools/ar/ar.NEW ${iphone_prefix}/bin/arm-apple-darwin-ar
+	system "cd ${iphone_prefix}/bin && ln -s arm-apple-darwin-libtool arm-apple-darwin-ranlib"
+
 	# Make the binaries externally visible.
 	system "cd ${destroot}/${prefix}/bin && ln -s ${iphone_prefix}/bin/arm-apple-darwin-ld ./"
 	system "cd ${destroot}/${prefix}/bin && ln -s ${iphone_prefix}/bin/arm-apple-darwin-as ./"
+	system "cd ${destroot}/${prefix}/bin && ln -s ${iphone_prefix}/bin/arm-apple-darwin-ar ./"
 	system "cd ${destroot}/${prefix}/bin && ln -s ${iphone_prefix}/bin/arm-apple-darwin-libtool ./"
+	system "cd ${destroot}/${prefix}/bin && ln -s ${iphone_prefix}/bin/arm-apple-darwin-ranlib ./"
 
 	# Set up non-prefixed binaries in the iphone bin directory
 	system "cd ${destroot}/${iphone_prefix}/bin && ln -s arm-apple-darwin-ld ld"
 	system "cd ${destroot}/${iphone_prefix}/bin && ln -s arm-apple-darwin-as as"
-	system "cd ${destroot}/${iphone_prefix}/bin && ln -s arm-apple-darwin-as libtool"
+	system "cd ${destroot}/${iphone_prefix}/bin && ln -s arm-apple-darwin-ar ar"
+	system "cd ${destroot}/${iphone_prefix}/bin && ln -s arm-apple-darwin-libtool libtool"
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070819/fc0c2ef6/attachment.html


More information about the macports-changes mailing list