[141026] trunk/dports/devel/dbus-python/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Wed Oct 7 23:22:31 PDT 2015


Revision: 141026
          https://trac.macports.org/changeset/141026
Author:   mcalhoun at macports.org
Date:     2015-10-07 23:22:31 -0700 (Wed, 07 Oct 2015)
Log Message:
-----------
dbus-python: do not call pythonXY-config since it might not be installed (fixes #49180)

Modified Paths:
--------------
    trunk/dports/devel/dbus-python/Portfile

Modified: trunk/dports/devel/dbus-python/Portfile
===================================================================
--- trunk/dports/devel/dbus-python/Portfile	2015-10-08 04:59:48 UTC (rev 141025)
+++ trunk/dports/devel/dbus-python/Portfile	2015-10-08 06:22:31 UTC (rev 141026)
@@ -78,9 +78,12 @@
             --disable-api-docs
 
         # determine any abiflags, for Python 3.0+ only
-        set abiflag ''
+        set abiflag ""
         if {${python_version} > 30} {
-            set abiflag [exec ${prefix}/bin/python${python_branch}-config --abiflags]
+            # the following is a better way of finding abiflag, but it causes a problem if python not installed yes (#49180)            
+            #set abiflag [exec ${prefix}/bin/python${python_branch}-config --abiflags]
+
+            set abiflag m
         }
         configure.args-append --includedir=${python_prefix}/include/python${python_branch}${abiflag}
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151007/cc5b0a74/attachment.html>


More information about the macports-changes mailing list