[121096] trunk/dports/comms/telepathy-qt/Portfile

nicos at macports.org nicos at macports.org
Tue Jun 17 05:42:15 PDT 2014


Revision: 121096
          https://trac.macports.org/changeset/121096
Author:   nicos at macports.org
Date:     2014-06-17 05:42:14 -0700 (Tue, 17 Jun 2014)
Log Message:
-----------
telepathy-qt: Fixing python default variant and python detection
Fixing dependencies

Modified Paths:
--------------
    trunk/dports/comms/telepathy-qt/Portfile

Modified: trunk/dports/comms/telepathy-qt/Portfile
===================================================================
--- trunk/dports/comms/telepathy-qt/Portfile	2014-06-17 12:03:01 UTC (rev 121095)
+++ trunk/dports/comms/telepathy-qt/Portfile	2014-06-17 12:42:14 UTC (rev 121096)
@@ -6,6 +6,7 @@
 
 name                telepathy-qt
 version             0.9.4
+revision            1
 categories          comms
 maintainers         nicos openmaintainer
 license             LGPL-2.1+
@@ -22,26 +23,34 @@
 checksums           rmd160  48ad94564cf4f7310ad30fc259442c0d0595793e \
                     sha256  f1b1db3a9f96ece92df430a8de4d30317f4c58a06fe99e82cc2c6875791e61f2
 
-depends_lib-append  port:qt4-mac \
+depends_build-append    port:pkgconfig
+
+depends_lib-append  path:lib/pkgconfig/glib-2.0.pc:glib2 \
+                    port:qt4-mac \
                     port:libtelepathy \
                     port:dbus-glib
 
 variant python25 conflicts python26 python27 description {Build using Python 2.5} {
         depends_build-append port:python25
         configure.python ${prefix}/bin/python2.5
+        configure.args-append   -DPYTHON_EXECUTABLE:FILEPATH=${prefix}/bin/python2.5
 }
 
 variant python26 conflicts python25 python27 description {Build using Python 2.6} {
         depends_build-append port:python26
         configure.python ${prefix}/bin/python2.6
+        configure.args-append   -DPYTHON_EXECUTABLE:FILEPATH=${prefix}/bin/python2.6
 }
 
 variant python27 conflicts python25 python26 description {Build using Python 2.7} {
         depends_build-append port:python27
         configure.python ${prefix}/bin/python2.7
+        configure.args-append   -DPYTHON_EXECUTABLE:FILEPATH=${prefix}/bin/python2.7
 }
 
-default_variants +python27
+if {![variant_isset python25] && ![variant_isset python26] && ![variant_isset python27]} {
+    default_variants +python27
+}
 
 livecheck.type  regex
 livecheck.url   ${master_sites}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140617/899f6ef3/attachment-0001.html>


More information about the macports-changes mailing list