[137071] trunk/dports/print/ghostscript/Portfile

larryv at macports.org larryv at macports.org
Wed Jun 3 22:53:53 PDT 2015


Revision: 137071
          https://trac.macports.org/changeset/137071
Author:   larryv at macports.org
Date:     2015-06-03 22:53:53 -0700 (Wed, 03 Jun 2015)
Log Message:
-----------
ghostscript: Use *-replace where appropriate

Modified Paths:
--------------
    trunk/dports/print/ghostscript/Portfile

Modified: trunk/dports/print/ghostscript/Portfile
===================================================================
--- trunk/dports/print/ghostscript/Portfile	2015-06-04 05:53:48 UTC (rev 137070)
+++ trunk/dports/print/ghostscript/Portfile	2015-06-04 05:53:53 UTC (rev 137071)
@@ -97,9 +97,8 @@
 autoreconf.args     -fv
 
 # Make included OpenJPEG uses its own headers rather than the system ones
-configure.cppflags-delete \
-                    -I${prefix}/include
-configure.cppflags-append \
+configure.cppflags-replace \
+                    -I${prefix}/include \
                     -isystem${prefix}/include
 
 configure.args      --disable-compile-inits \
@@ -131,13 +130,11 @@
 variant x11 {
     depends_lib-append      port:xorg-libXext
     depends_lib-append      port:xorg-libXt
-    configure.args-delete   --without-x
-    configure.args-append   --with-x
+    configure.args-replace  --without-x --with-x
 }
 
 variant cups description {Enable CUPS driver} {
-    configure.args-delete   --disable-cups
-    configure.args-append   --enable-cups
+    configure.args-replace  --disable-cups --enable-cups
 }
 
 default_variants    +x11
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150603/8a8cc5d3/attachment.html>


More information about the macports-changes mailing list