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

source_changes at macosforge.org source_changes at macosforge.org
Tue Aug 14 17:16:03 PDT 2007


Revision: 27828
          http://trac.macosforge.org/projects/macports/changeset/27828
Author:   eridius at macports.org
Date:     2007-08-14 17:16:03 -0700 (Tue, 14 Aug 2007)

Log Message:
-----------
Enable building of arm-apple-darwin-binutils on Leopard

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-14 23:05:50 UTC (rev 27827)
+++ trunk/dports/cross/arm-apple-darwin-binutils/Portfile	2007-08-15 00:16:03 UTC (rev 27828)
@@ -23,11 +23,17 @@
 
 configure.args		--prefix=${iphone_prefix} --with-heavenly=${iphone_prefix}/heavenly
 
-build.args		DESTDIR=${destroot}
+build.args		DESTDIR=${destroot} USE_DEPENDENCY_FILE=NO
 
 # Work-around the experimental destroot validation
 destroot.violate_mtree	yes
 
+post-patch {
+	# remove the Makedep file which is preventing compilation on Leopard
+	# it's useless anyway as this is a one-shot build
+	delete ${worksrcpath}/cctools/cbtlibs/Makedep
+}
+
 pre-configure {
 	if {![file exists ${iphone_prefix}/heavenly/usr/lib/dyld]} {
 		return -code error "Heavenly (the iPhone installation disk image) must be manually copied to ${iphone_prefix}/heavenly before building this port: sudo mkdir -p ${iphone_prefix}/heavenly && sudo cp -Rn <HeavenlyDirectory> ${iphone_prefix}"

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


More information about the macports-changes mailing list