[130031] trunk/dports/print/pdflib/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed Dec 24 18:33:30 PST 2014
Revision: 130031
https://trac.macports.org/changeset/130031
Author: ryandesign at macports.org
Date: 2014-12-24 18:33:30 -0800 (Wed, 24 Dec 2014)
Log Message:
-----------
pdflib: use -replace
Modified Paths:
--------------
trunk/dports/print/pdflib/Portfile
Modified: trunk/dports/print/pdflib/Portfile
===================================================================
--- trunk/dports/print/pdflib/Portfile 2014-12-25 02:21:02 UTC (rev 130030)
+++ trunk/dports/print/pdflib/Portfile 2014-12-25 02:33:30 UTC (rev 130031)
@@ -39,8 +39,7 @@
--without-tcl
# The existence of tiff header files interferes with PDFLib (#11789).
-configure.cppflags-delete -I${prefix}/include
-configure.cppflags-append -isystem${prefix}/include
+configure.cppflags-replace -I${prefix}/include -isystem${prefix}/include
use_parallel_build yes
@@ -52,14 +51,12 @@
}
variant java description {Enable Java language binding} {
- configure.args-delete --without-java
- configure.args-append --with-java=yes
+ configure.args-replace --without-java --with-java=yes
}
variant perl description {Enable Perl language binding} {
depends_lib path:bin/perl:perl5
- configure.args-delete --without-perl
- configure.args-append --with-perl=${prefix}/bin/perl
+ configure.args-replace --without-perl --with-perl=${prefix}/bin/perl
}
# TODO: Remove after 2015-12-18.
@@ -70,24 +67,22 @@
variant python27 description {Enable Python 2.7 binding} {
set pyversion 2.7
depends_lib-append port:python[strsed ${pyversion} {g/[.]//}]
- configure.args-delete --without-py
- configure.args-append --with-py=${frameworks_dir}/Python.framework/Versions/${pyversion} \
- --with-pyincl=${frameworks_dir}/Python.framework/Versions/${pyversion}/include/python${pyversion}
+ configure.args-replace --without-py --with-py=${frameworks_dir}/Python.framework/Versions/${pyversion}
+ configure.args-append --with-pyincl=${frameworks_dir}/Python.framework/Versions/${pyversion}/include/python${pyversion}
configure.env-append PYTHONBIN=${prefix}/bin/python${pyversion}
}
variant tcl description {Enable Tcl language binding} {
depends_lib-append path:bin/tclsh:tcl
- configure.args-delete --without-tcl
- configure.args-append --with-tcl=${prefix}/bin/tclsh
+ configure.args-replace --without-tcl --with-tcl=${prefix}/bin/tclsh
}
variant ruby description {Enable Ruby language binding} {
depends_lib-append port:ruby
pre-configure {
set rubyIncl [file dirname [glob ${prefix}/lib/ruby/*/*/ruby.h]]
- configure.args-delete --without-ruby
- configure.args-append --with-ruby=${prefix} --with-rubyincl=${rubyIncl}
+ configure.args-replace --without-ruby --with-ruby=${prefix}
+ configure.args-append --with-rubyincl=${rubyIncl}
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141224/166df082/attachment.html>
More information about the macports-changes
mailing list