[136390] trunk/dports/net/gpsd/Portfile

ionic at macports.org ionic at macports.org
Fri May 15 12:35:56 PDT 2015


Revision: 136390
          https://trac.macports.org/changeset/136390
Author:   ionic at macports.org
Date:     2015-05-15 12:35:56 -0700 (Fri, 15 May 2015)
Log Message:
-----------
gpsd: make variants also change destroot.args and flatten the initial list so that -delete and -replace operations work. Revbump.

Modified Paths:
--------------
    trunk/dports/net/gpsd/Portfile

Modified: trunk/dports/net/gpsd/Portfile
===================================================================
--- trunk/dports/net/gpsd/Portfile	2015-05-15 18:24:42 UTC (rev 136389)
+++ trunk/dports/net/gpsd/Portfile	2015-05-15 19:35:56 UTC (rev 136390)
@@ -9,7 +9,7 @@
 
 name                    gpsd
 version                 3.14
-revision                1
+revision                2
 license                 BSD
 categories              net
 maintainers             ryandesign openmaintainer
@@ -55,7 +55,7 @@
                         LDFLAGS="${configure.ldflags}" \
                         PYTHON=${prefix}/bin/python2.7
 
-destroot.args           ${build.args}
+destroot.args           {*}${build.args}
 destroot.env-append     {*}${destroot.destdir} {*}${build.env}
 
 post-destroot {
@@ -63,7 +63,8 @@
 }
 
 variant qt description {Build Qt bindings} {
-    build.args-delete libQgpsmm=no
+    build.args-delete       libQgpsmm=no
+    destroot.args-delete    libQgpsmm=no
 }
 
 variant libusb \
@@ -71,11 +72,13 @@
     depends_build-append port:pkgconfig
     depends_lib-append   port:libusb
     build.args-delete    usb=no
+    destroot.args-delete usb=no
 }
 
 variant dbus description {Include support for DBUS} {
-    depends_lib-append    port:dbus-glib
-    build.args-append dbus=yes dbus_export=yes
+    depends_lib-append      port:dbus-glib
+    build.args-append       dbus=yes dbus_export=yes
+    destroot.args-append    dbus=yes dbus_export=yes
 }
 
 livecheck.type          regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150515/2bd6af07/attachment.html>


More information about the macports-changes mailing list