[101703] trunk/dports/print/epstool
and.damore at macports.org
and.damore at macports.org
Thu Jan 17 08:48:38 PST 2013
Revision: 101703
https://trac.macports.org/changeset/101703
Author: and.damore at macports.org
Date: 2013-01-17 08:48:38 -0800 (Thu, 17 Jan 2013)
Log Message:
-----------
port epstool: adding build arguments to use the right compiler, added patch to avoid hardcoded "gcc"
Modified Paths:
--------------
trunk/dports/print/epstool/Portfile
Added Paths:
-----------
trunk/dports/print/epstool/files/patch-src_unixcom_mak.diff
Modified: trunk/dports/print/epstool/Portfile
===================================================================
--- trunk/dports/print/epstool/Portfile 2013-01-17 16:10:24 UTC (rev 101702)
+++ trunk/dports/print/epstool/Portfile 2013-01-17 16:48:38 UTC (rev 101703)
@@ -28,6 +28,9 @@
use_configure no
build.env CFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
+build.args-append CC=${configure.cc} \
+ CXX=${configure.cxx} \
+ CPP=${configure.cpp}
-patchfiles patch-epstool.mak patch-makefile
+patchfiles patch-epstool.mak patch-makefile patch-src_unixcom_mak.diff
destroot.destdir prefix=${destroot}${prefix}
Added: trunk/dports/print/epstool/files/patch-src_unixcom_mak.diff
===================================================================
--- trunk/dports/print/epstool/files/patch-src_unixcom_mak.diff (rev 0)
+++ trunk/dports/print/epstool/files/patch-src_unixcom_mak.diff 2013-01-17 16:48:38 UTC (rev 101703)
@@ -0,0 +1,17 @@
+--- src/unixcom.mak.orig 2013-01-17 17:38:15.000000000 +0100
++++ src/unixcom.mak 2013-01-17 17:39:15.000000000 +0100
+@@ -24,11 +24,11 @@
+ CDEFS=-DX11 -DUNIX -DNONAG $(LONGFILEDEF)
+ GSCDEBUG= -g
+ GSCFLAGS= $(CDEFS) -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -fno-builtin -fno-common -Wcast-qual -Wwrite-strings $(CDEBUG) $(GSCDEBUG) $(RPM_OPT_FLAGS) $(XINCLUDE) $(PFLAGS) $(LIBPNGCFLAGS) $(GTKCFLAGS)
+-CCAUX=gcc
+ CC=gcc
++CCAUX=$(CC)
+ LFLAGS=$(PLINK) $(LIBPNGLIBS) $(GTKLIBS)
+-CLINK=gcc $(LDFLAGS)
+-LINK=gcc $(LDFLAGS)
++CLINK=$(CC) $(LDFLAGS)
++LINK=$(CC) $(LDFLAGS)
+
+
+ COMP=$(CC) -I$(SRCDIR) -I$(OBJDIR) $(CFLAGS) $(GSCFLAGS)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130117/781e7e58/attachment.html>
More information about the macports-changes
mailing list