[102256] trunk/dports/python/py-pyqt4/Portfile

michaelld at macports.org michaelld at macports.org
Tue Jan 29 09:03:49 PST 2013


Revision: 102256
          https://trac.macports.org/changeset/102256
Author:   michaelld at macports.org
Date:     2013-01-29 09:03:49 -0800 (Tue, 29 Jan 2013)
Log Message:
-----------
py-pyqt4: fix such that the subport for Python 2.4 or 2.5 installs into non-Framework locations; addresses ticket #37421

Modified Paths:
--------------
    trunk/dports/python/py-pyqt4/Portfile

Modified: trunk/dports/python/py-pyqt4/Portfile
===================================================================
--- trunk/dports/python/py-pyqt4/Portfile	2013-01-29 16:59:01 UTC (rev 102255)
+++ trunk/dports/python/py-pyqt4/Portfile	2013-01-29 17:03:49 UTC (rev 102256)
@@ -7,7 +7,7 @@
 
 name            py-pyqt4
 version         4.9.6
-revision        1
+revision        2
 python.versions 24 25 26 27 31 32 33
 categories      python devel
 platforms       macosx
@@ -102,6 +102,11 @@
     configure.pre_args
     configure.post_args LFLAGS="-F${frameworks_dir} -L${prefix}/lib"
 
+    # subport for Python 2.4 or 2.5 installs into non-Framework locations
+    if {${python.version} <= 25} {
+        configure.cmd-append " -d ${python.pkgd} -b ${prefix}/bin"
+    }
+
     variant universal {
         configure.universal_args
         configure.post_args         LFLAGS="-F${frameworks_dir} -L${prefix}/lib \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130129/7a6ef18e/attachment.html>


More information about the macports-changes mailing list