[135702] trunk/dports/devel/xapian-bindings/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Apr 29 21:29:48 PDT 2015


Revision: 135702
          https://trac.macports.org/changeset/135702
Author:   ryandesign at macports.org
Date:     2015-04-29 21:29:48 -0700 (Wed, 29 Apr 2015)
Log Message:
-----------
xapian-bindings: use configure.args-replace instead of configure.args-append and configure.args-delete

Modified Paths:
--------------
    trunk/dports/devel/xapian-bindings/Portfile

Modified: trunk/dports/devel/xapian-bindings/Portfile
===================================================================
--- trunk/dports/devel/xapian-bindings/Portfile	2015-04-30 04:24:56 UTC (rev 135701)
+++ trunk/dports/devel/xapian-bindings/Portfile	2015-04-30 04:29:48 UTC (rev 135702)
@@ -30,33 +30,28 @@
                     --without-tcl --without-php --without-ruby --without-perl
 
 variant     ruby description {builds ruby bindings} {
-                    configure.args-delete  --without-ruby
-                    configure.args-append  --with-ruby
                     depends_lib-append port:ruby
+    configure.args-replace --without-ruby --with-ruby
     post-destroot {
         delete ${destroot}${prefix}/share/doc/xapian-bindings/ruby/rdocs
     }
                 }
 variant     php description {builds php bindings} {
-                    configure.args-delete  --without-php
-                    configure.args-append  --with-php
                     depends_lib-append path:bin/php:php5
+    configure.args-replace --without-php --with-php
                 }
 variant     python26 conflicts python27 description {builds python bindings} {
-                    configure.args-delete  --without-python
-                    configure.args-append  --with-python
                     configure.python       ${prefix}/bin/python2.6
                     depends_lib-append port:python26
+    configure.args-replace --without-python --with-python
                 }
 variant     python27 conflicts python26 description {builds python bindings} {
-                    configure.args-delete  --without-python
-                    configure.args-append  --with-python
                     configure.python       ${prefix}/bin/python2.7
                     depends_lib-append port:python27
+    configure.args-replace --without-python --with-python
                 }
 variant     java description {builds java bindings} {
-                    configure.args-delete  --without-java
-                    configure.args-append  --with-java
+    configure.args-replace --without-java --with-java
                 }
 default_variants +ruby
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150429/03475e20/attachment-0001.html>


More information about the macports-changes mailing list