[52884] trunk/dports/archivers/dzip
ryandesign at macports.org
ryandesign at macports.org
Wed Jun 24 23:28:45 PDT 2009
Revision: 52884
http://trac.macports.org/changeset/52884
Author: ryandesign at macports.org
Date: 2009-06-24 23:28:45 -0700 (Wed, 24 Jun 2009)
Log Message:
-----------
dzip: use ${configure.cc}
Modified Paths:
--------------
trunk/dports/archivers/dzip/Portfile
Added Paths:
-----------
trunk/dports/archivers/dzip/files/
trunk/dports/archivers/dzip/files/patch-Makefile.linux.diff
Modified: trunk/dports/archivers/dzip/Portfile
===================================================================
--- trunk/dports/archivers/dzip/Portfile 2009-06-25 06:25:44 UTC (rev 52883)
+++ trunk/dports/archivers/dzip/Portfile 2009-06-25 06:28:45 UTC (rev 52884)
@@ -29,10 +29,18 @@
file mkdir ${worksrcpath}
}
+post-extract {
+ # Convert DOS to UNIX line endings so we can patch
+ reinplace "s|\r||g" ${worksrcpath}/Makefile.linux
+}
+
+patchfiles patch-Makefile.linux.diff
+
use_configure no
build.target ${name}
build.args -f Makefile.linux
+build.env CC=${configure.cc}
destroot {
xinstall ${worksrcpath}/dzip ${destroot}${prefix}/bin
Added: trunk/dports/archivers/dzip/files/patch-Makefile.linux.diff
===================================================================
--- trunk/dports/archivers/dzip/files/patch-Makefile.linux.diff (rev 0)
+++ trunk/dports/archivers/dzip/files/patch-Makefile.linux.diff 2009-06-25 06:28:45 UTC (rev 52884)
@@ -0,0 +1,9 @@
+--- Makefile.linux 2002-07-17 12:51:40.000000000 -0500
++++ Makefile.linux 2009-06-25 01:24:39.000000000 -0500
+@@ -1,6 +1,5 @@
+ # Makefile for linux
+
+-CC = gcc
+ CFLAGS = -Wall -O3
+ TARGET = dzip
+ OBJECTS = main.o compress.o uncompress.o list.o crc32.o \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090624/3e0bd29f/attachment.html>
More information about the macports-changes
mailing list