[67132] trunk/dports/archivers/pigz
ryandesign at macports.org
ryandesign at macports.org
Thu Apr 29 19:20:10 PDT 2010
Revision: 67132
http://trac.macports.org/changeset/67132
Author: ryandesign at macports.org
Date: 2010-04-29 19:20:05 -0700 (Thu, 29 Apr 2010)
Log Message:
-----------
pigz: ensure we're UsingTheRightCompiler; see #24726
Modified Paths:
--------------
trunk/dports/archivers/pigz/Portfile
Added Paths:
-----------
trunk/dports/archivers/pigz/files/
trunk/dports/archivers/pigz/files/patch-Makefile
Modified: trunk/dports/archivers/pigz/Portfile
===================================================================
--- trunk/dports/archivers/pigz/Portfile 2010-04-30 02:08:51 UTC (rev 67131)
+++ trunk/dports/archivers/pigz/Portfile 2010-04-30 02:20:05 UTC (rev 67132)
@@ -22,9 +22,12 @@
sha1 df05bdcc7b08246a3c1e6a2ab2edc7d0a45c0369 \
rmd160 715a90eefbb9d2f6dbd94ec7ee196a0ea7b32e7f
+patchfiles patch-Makefile
+
use_configure no
build.target
+build.args CC=${configure.cc}
destroot {
xinstall -m 644 ${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1
Added: trunk/dports/archivers/pigz/files/patch-Makefile
===================================================================
--- trunk/dports/archivers/pigz/files/patch-Makefile (rev 0)
+++ trunk/dports/archivers/pigz/files/patch-Makefile 2010-04-30 02:20:05 UTC (rev 67132)
@@ -0,0 +1,36 @@
+--- Makefile.orig 2010-01-17 15:16:18.000000000 -0600
++++ Makefile 2010-04-29 21:14:20.000000000 -0500
+@@ -1,7 +1,7 @@
+ CFLAGS=-O3
+
+ pigz: pigz.o yarn.o
+- cc -o pigz pigz.o yarn.o -lpthread -lz
++ $(CC) -o pigz pigz.o yarn.o -lpthread -lz
+ ln -f pigz unpigz
+
+ pigz.o: pigz.c yarn.h
+@@ -11,19 +11,19 @@
+ dev: pigz pigzt pigzn
+
+ pigzt: pigzt.o yarnt.o
+- cc -o pigzt pigzt.o yarnt.o -lpthread -lz
++ $(CC) -o pigzt pigzt.o yarnt.o -lpthread -lz
+
+ pigzt.o: pigz.c yarn.h
+- cc -Wall -O3 -DDEBUG -g -c -o pigzt.o pigz.c
++ $(CC) -Wall -O3 -DDEBUG -g -c -o pigzt.o pigz.c
+
+ yarnt.o: yarn.c yarn.h
+- cc -Wall -O3 -DDEBUG -g -c -o yarnt.o yarn.c
++ $(CC) -Wall -O3 -DDEBUG -g -c -o yarnt.o yarn.c
+
+ pigzn: pigzn.o
+- cc -o pigzn pigzn.o -lz
++ $(CC) -o pigzn pigzn.o -lz
+
+ pigzn.o: pigz.c
+- cc -Wall -O3 -DDEBUG -DNOTHREAD -g -c -o pigzn.o pigz.c
++ $(CC) -Wall -O3 -DDEBUG -DNOTHREAD -g -c -o pigzn.o pigz.c
+
+ test: pigz
+ ./pigz -kf pigz.c ; ./pigz -t pigz.c.gz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100429/e7876083/attachment.html>
More information about the macports-changes
mailing list