[46770] trunk/dports/archivers/zlib/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Thu Feb 12 09:17:38 PST 2009
Revision: 46770
http://trac.macports.org/changeset/46770
Author: mcalhoun at macports.org
Date: 2009-02-12 09:17:38 -0800 (Thu, 12 Feb 2009)
Log Message:
-----------
zlib: Switch to muniversal PortGroup on general principal.
Modified Paths:
--------------
trunk/dports/archivers/zlib/Portfile
Modified: trunk/dports/archivers/zlib/Portfile
===================================================================
--- trunk/dports/archivers/zlib/Portfile 2009-02-12 16:54:33 UTC (rev 46769)
+++ trunk/dports/archivers/zlib/Portfile 2009-02-12 17:17:38 UTC (rev 46770)
@@ -1,6 +1,7 @@
# $Id$
PortSystem 1.0
+PortGroup muniversal 1.0
name zlib
version 1.2.3
@@ -28,15 +29,17 @@
patchfiles patch-Makefile-static.diff
-post-configure {
- if {[variant_isset universal]} {
- reinplace -E "/^LDSHARED=/s|\$| ${configure.universal_cflags}|" ${worksrcpath}/Makefile
- }
-}
-
configure.args --shared
configure.universal_args
+# configure script does not recognize --host option
+array set merger_host {
+ ppc ""
+ i386 ""
+ ppc64 ""
+ x86_64 ""
+}
+
test.run yes
destroot.destdir prefix=${destroot}${prefix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090212/6f082540/attachment.html>
More information about the macports-changes
mailing list