[28015] trunk/dports/iphone/iphone-zlib/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Fri Aug 17 23:44:26 PDT 2007


Revision: 28015
          http://trac.macosforge.org/projects/macports/changeset/28015
Author:   landonf at macports.org
Date:     2007-08-17 23:44:25 -0700 (Fri, 17 Aug 2007)

Log Message:
-----------
Fixes for the installation prefix

Modified Paths:
--------------
    trunk/dports/iphone/iphone-zlib/Portfile

Modified: trunk/dports/iphone/iphone-zlib/Portfile
===================================================================
--- trunk/dports/iphone/iphone-zlib/Portfile	2007-08-18 05:33:33 UTC (rev 28014)
+++ trunk/dports/iphone/iphone-zlib/Portfile	2007-08-18 06:44:25 UTC (rev 28015)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 name		iphone-zlib
 version		1.2.3
-revision	1
+revision	2
 categories	iphone cross
 maintainers	landonf at macports.org openmaintainer at macports.org
 description	ZLib headers and libraries for iPhone cross-compiliation
@@ -33,14 +33,16 @@
 depends_lib	port:arm-apple-darwin-runtime \
 		port:arm-apple-darwin-cc
 
-configure.env	PATH=${prefix}/arm-iphone/bin:$env(PATH) CC=cc CFLAGS="-dynamiclib"
-configure.args	--shared --prefix=${prefix}/arm-iphone
+set iphone_prefix ${prefix}/arm-apple-darwin
 
-build.env	PATH=${prefix}/arm-iphone/bin:$env(PATH)
+configure.env	PATH=${iphone_prefix}/bin:$env(PATH) CC=cc CFLAGS="-dynamiclib"
+configure.args	--shared --prefix=${iphone_prefix}/arm-iphone
+
+build.env	PATH=${iphone_prefix}/bin:$env(PATH)
 build.target	libz.${version}.dylib
 
 destroot.violate_mtree	yes
-destroot.destdir prefix=${destroot}${prefix}/arm-iphone/
+destroot.destdir prefix=${destroot}/${iphone_prefix}
 
 livecheck.check regex
 livecheck.url   ${homepage}

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


More information about the macports-changes mailing list