[23429] trunk/dports/archivers/zlib
source_changes at macosforge.org
source_changes at macosforge.org
Sat Mar 31 18:19:19 PDT 2007
Revision: 23429
http://trac.macosforge.org/projects/macports/changeset/23429
Author: pipping at macports.org
Date: 2007-03-31 18:19:19 -0700 (Sat, 31 Mar 2007)
Log Message:
-----------
* add variant universal
Modified Paths:
--------------
trunk/dports/archivers/zlib/Portfile
Added Paths:
-----------
trunk/dports/archivers/zlib/files/patch-Makefile-universal
Modified: trunk/dports/archivers/zlib/Portfile
===================================================================
--- trunk/dports/archivers/zlib/Portfile 2007-04-01 01:17:50 UTC (rev 23428)
+++ trunk/dports/archivers/zlib/Portfile 2007-04-01 01:19:19 UTC (rev 23429)
@@ -22,8 +22,12 @@
checksums md5 dee233bf288ee795ac96a98cc2e369b6
patchfiles patch-Makefile-static
+if {[variant_isset universal]} {
+ patchfiles-append patch-Makefile-universal
+}
configure.args --shared
+configure.universal_args ${configure.args}
test.run yes
Added: trunk/dports/archivers/zlib/files/patch-Makefile-universal
===================================================================
--- trunk/dports/archivers/zlib/files/patch-Makefile-universal (rev 0)
+++ trunk/dports/archivers/zlib/files/patch-Makefile-universal 2007-04-01 01:19:19 UTC (rev 23429)
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2007-03-31 23:25:14.000000000 +0200
++++ Makefile.in 2007-03-31 23:25:36.000000000 +0200
+@@ -78,7 +78,7 @@
+ rm -f _match.s
+
+ $(SHAREDLIBV): libz.a $(OBJS)
+- $(LDSHARED) -o $@ $(OBJS)
++ $(LDSHARED) -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -o $@ $(OBJS)
+ rm -f $(SHAREDLIB) $(SHAREDLIBM)
+ ln -s $@ $(SHAREDLIB)
+ ln -s $@ $(SHAREDLIBM)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070331/e2e66e95/attachment.html
More information about the macports-changes
mailing list