[97380] trunk/dports/python/py-shiboken/Portfile
jmr at macports.org
jmr at macports.org
Tue Sep 4 10:52:03 PDT 2012
Revision: 97380
https://trac.macports.org/changeset/97380
Author: jmr at macports.org
Date: 2012-09-04 10:52:03 -0700 (Tue, 04 Sep 2012)
Log Message:
-----------
py-shiboken: fix stub
Modified Paths:
--------------
trunk/dports/python/py-shiboken/Portfile
Modified: trunk/dports/python/py-shiboken/Portfile
===================================================================
--- trunk/dports/python/py-shiboken/Portfile 2012-09-04 17:43:28 UTC (rev 97379)
+++ trunk/dports/python/py-shiboken/Portfile 2012-09-04 17:52:03 UTC (rev 97380)
@@ -27,15 +27,15 @@
distname ${realname}-${version}
use_bzip2 yes
-pre-patch {
- # MacOS cannot have a file and directory with the same name, as occurs here
- system "mv -v '${worksrcpath}/generator/shiboken' '${worksrcpath}/generator/shiboken.d'"
-}
+if {$subport != $name} {
+ pre-patch {
+ # MacOS cannot have a file and directory with the same name, as occurs here
+ system "mv -v '${worksrcpath}/generator/shiboken' '${worksrcpath}/generator/shiboken.d'"
+ }
-patchfiles default_visibility.patch \
- filename_collision.patch
+ patchfiles default_visibility.patch \
+ filename_collision.patch
-if {$subport != $name} {
depends_lib-append port:qt4-mac port:python${python.version}
use_configure yes
configure.args-append -DBUILD_TESTS:BOOL=FALSE \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120904/f06de535/attachment.html>
More information about the macports-changes
mailing list