Modified: trunk/dports/python/py-pyqt4/Portfile (111836 => 111837)
--- trunk/dports/python/py-pyqt4/Portfile 2013-10-03 14:41:42 UTC (rev 111836)
+++ trunk/dports/python/py-pyqt4/Portfile 2013-10-03 15:04:58 UTC (rev 111837)
@@ -29,13 +29,17 @@
}
}
+# keep 'port' happy, by defining a global version which is for the
+# primary release
+
+set patch 4.10
+version ${patch}.3
+
if {$subport ne $name} {
- set patch 4.10
-
if {[string last devel ${subport}] != -1} {
- # devel port; use different download info
+ # devel port
version ${patch}.4
set snapshot 507d15ce70b8
@@ -50,7 +54,8 @@
} else {
- version ${patch}.3
+ # release port
+
revision 2
master_sites sourceforge:pyqt
@@ -140,13 +145,6 @@
CFLAGS="${cflags}" \
CXXFLAGS="${cxxflags}"
- # support for dbus-python in < 3.0
-
- if {${python.version} < 30} {
- depends_lib-append port:dbus-python${python.version}
- configure.args-append --dbus=${python.include}/dbus-1.0
- }
-
# 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"
@@ -168,6 +166,12 @@
configure.args-append --qsci-api
depends_lib-append port:qscintilla
}
+
+ # dbus-python does not yet work correctly with 2.5- or 3.0+
+
+ depends_lib-append port:dbus-python${python.version}
+ configure.args-append --dbus=${python.include}/dbus-1.0
+
}
post-configure {