[115802] trunk/dports/devel/libpwquality/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sat Jan 11 11:22:12 PST 2014
Revision: 115802
https://trac.macports.org/changeset/115802
Author: jeremyhu at macports.org
Date: 2014-01-11 11:22:12 -0800 (Sat, 11 Jan 2014)
Log Message:
-----------
libpwquality: Use requested python version for setup.py
Modified Paths:
--------------
trunk/dports/devel/libpwquality/Portfile
Modified: trunk/dports/devel/libpwquality/Portfile
===================================================================
--- trunk/dports/devel/libpwquality/Portfile 2014-01-11 19:08:12 UTC (rev 115801)
+++ trunk/dports/devel/libpwquality/Portfile 2014-01-11 19:22:12 UTC (rev 115802)
@@ -66,6 +66,12 @@
default_variants +python27
}
+post-patch {
+ reinplace "s|python setup.py|${configure.python} setup.py|g" \
+ ${worksrcpath}/python/Makefile.am \
+ ${worksrcpath}/python/Makefile.in
+}
+
platform darwin {
if {${os.major} < 10} {
configure.args-append --disable-pam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140111/bf35e67e/attachment.html>
More information about the macports-changes
mailing list