[142959] trunk/dports/aqua/qt5/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Sat Dec 12 07:57:42 PST 2015


Revision: 142959
          https://trac.macports.org/changeset/142959
Author:   mcalhoun at macports.org
Date:     2015-11-29 08:18:11 -0800 (Sun, 29 Nov 2015)
Log Message:
-----------
qt5-qtwebengine: any python except 2.7 found in the path causes error (see #49838)

Modified Paths:
--------------
    trunk/dports/aqua/qt5/Portfile

Modified: trunk/dports/aqua/qt5/Portfile
===================================================================
--- trunk/dports/aqua/qt5/Portfile	2015-11-29 13:50:08 UTC (rev 142958)
+++ trunk/dports/aqua/qt5/Portfile	2015-11-29 16:18:11 UTC (rev 142959)
@@ -647,6 +647,16 @@
         # UsingTheRightCompiler (https://trac.macports.org/wiki/UsingTheRightCompiler)
         build.env-append      CXX=${configure.cxx}
         configure.args-append QMAKE_LINK=${configure.cxx}
+
+        # version 5.5.1 (at least) of qtwebengine must find a python version in the interval [2.7, 3)
+        #    (see tools/qmake/mkspecs/features/functions.prf)
+        #
+        # a better solution would be to force qtwebengine to use a specific python program
+        # how to accomplish such a thing is not entirely clear
+        #
+        # see #49838
+        configure.env-append PATH="/bin:/sbin:/usr/bin:/usr/sbin:${prefix}/bin:${prefix}/sbin"
+        build.env-append     PATH="/bin:/sbin:/usr/bin:/usr/sbin:${prefix}/bin:${prefix}/sbin"
     }
 
     # detremint which variants are to be turned off
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/576f5a61/attachment.html>


More information about the macports-changes mailing list