[57032] trunk/dports/archivers/zlib/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Sep 5 04:19:55 PDT 2009


Revision: 57032
          http://trac.macports.org/changeset/57032
Author:   ryandesign at macports.org
Date:     2009-09-05 04:19:50 -0700 (Sat, 05 Sep 2009)
Log Message:
-----------
zlib: build zlib.dylib even when build_arch is changed; closes #21113

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

Modified: trunk/dports/archivers/zlib/Portfile
===================================================================
--- trunk/dports/archivers/zlib/Portfile	2009-09-05 09:54:11 UTC (rev 57031)
+++ trunk/dports/archivers/zlib/Portfile	2009-09-05 11:19:50 UTC (rev 57032)
@@ -4,7 +4,7 @@
 
 name                    zlib
 version                 1.2.3
-revision                2
+revision                3
 categories              archivers
 maintainers             landonf ryandesign openmaintainer
 homepage                http://www.zlib.net/
@@ -31,6 +31,11 @@
 configure.args          --shared
 configure.universal_args
 
+# Respect build_arch
+if {![variant_isset universal]} {
+    configure.ldflags-append ${configure.cc_archflags}
+}
+
 use_parallel_build      yes
 
 test.run                yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090905/480d27ba/attachment.html>


More information about the macports-changes mailing list