[66848] trunk/dports/archivers/zlib

ryandesign at macports.org ryandesign at macports.org
Fri Apr 23 14:47:23 PDT 2010


Revision: 66848
          http://trac.macports.org/changeset/66848
Author:   ryandesign at macports.org
Date:     2010-04-23 14:47:16 -0700 (Fri, 23 Apr 2010)
Log Message:
-----------
zlib: fix parallel build using upstream patch; see #24589

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

Added Paths:
-----------
    trunk/dports/archivers/zlib/files/
    trunk/dports/archivers/zlib/files/patch-Makefile.in.diff

Modified: trunk/dports/archivers/zlib/Portfile
===================================================================
--- trunk/dports/archivers/zlib/Portfile	2010-04-23 20:29:20 UTC (rev 66847)
+++ trunk/dports/archivers/zlib/Portfile	2010-04-23 21:47:16 UTC (rev 66848)
@@ -25,6 +25,8 @@
                         sha1    543fa9abff0442edca308772d6cef85557677e02 \
                         rmd160  c6c4c2a2a205061b21487e69234106f5517b4b32
 
+patchfiles              patch-Makefile.in.diff
+
 configure.universal_args
 
 # Respect build_arch
@@ -32,7 +34,7 @@
     configure.ldflags-append ${configure.cc_archflags}
 }
 
-use_parallel_build      no
+use_parallel_build      yes
 
 test.run                yes
 

Added: trunk/dports/archivers/zlib/files/patch-Makefile.in.diff
===================================================================
--- trunk/dports/archivers/zlib/files/patch-Makefile.in.diff	                        (rev 0)
+++ trunk/dports/archivers/zlib/files/patch-Makefile.in.diff	2010-04-23 21:47:16 UTC (rev 66848)
@@ -0,0 +1,11 @@
+--- Makefile.in.prev	2010-04-22 21:43:16.000000000 -0700
++++ Makefile.in	2010-04-23 07:22:40.000000000 -0700
+@@ -136,7 +136,7 @@
+	$(CC) $(SFLAGS) -DPIC -c -o objs/$*.o $<
+	- at mv objs/$*.o $@
+
+-$(SHAREDLIBV): $(PIC_OBJS)
++$(SHAREDLIBV): $(PIC_OBJS) libz.a
+	$(LDSHARED) $(SFLAGS) -o $@ $(PIC_OBJS) $(LDSHAREDLIBC) $(LDFLAGS)
+	rm -f $(SHAREDLIB) $(SHAREDLIBM)
+	ln -s $@ $(SHAREDLIB)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100423/206584db/attachment.html>


More information about the macports-changes mailing list