[103946] trunk/dports/python/py-lightblue/Portfile
ciserlohn at macports.org
ciserlohn at macports.org
Sun Mar 10 12:28:25 PDT 2013
Revision: 103946
https://trac.macports.org/changeset/103946
Author: ciserlohn at macports.org
Date: 2013-03-10 12:28:25 -0700 (Sun, 10 Mar 2013)
Log Message:
-----------
py-lightblue: fix #37361 (maintainer update)
Modified Paths:
--------------
trunk/dports/python/py-lightblue/Portfile
Modified: trunk/dports/python/py-lightblue/Portfile
===================================================================
--- trunk/dports/python/py-lightblue/Portfile 2013-03-10 19:23:12 UTC (rev 103945)
+++ trunk/dports/python/py-lightblue/Portfile 2013-03-10 19:28:25 UTC (rev 103946)
@@ -60,12 +60,17 @@
${worksrcpath}/src/mac/LightAquaBlue/__init__.py
}
}
+
+ if {${os.platform} == "darwin" && ${os.major} >= 12} {
+ # Fix #37361: use 10.7 SDK on 10.8 or later
+ configure.sdkroot ${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
+ }
post-patch {
reinplace "s|/Library/Frameworks|${frameworks_dir}|g" \
${worksrcpath}/setup.py \
${worksrcpath}/src/mac/_LightAquaBlue.py
- reinplace "s|DSTROOT=/|DSTROOT=${destroot}|g" \
+ reinplace "s|DSTROOT=/|SDKROOT='${configure.sdkroot}' DSTROOT='${destroot}'|g" \
${worksrcpath}/setup.py
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130310/2762402a/attachment.html>
More information about the macports-changes
mailing list