Modified: trunk/dports/lang/python32/Portfile (83189 => 83190)
--- trunk/dports/lang/python32/Portfile 2011-08-27 16:25:51 UTC (rev 83189)
+++ trunk/dports/lang/python32/Portfile 2011-08-27 17:13:01 UTC (rev 83190)
@@ -78,6 +78,7 @@
select.group python
select.file ${filespath}/python[string map {. {}} ${branch}]
+set confdir config-${branch}m
notes \
"To make python ${branch} the default (i.e. the version you get when you run
@@ -100,11 +101,11 @@
# quite work (see ticket #15099); instead specifically list the
# full path to the proper Python framework file (which becomes
# ${prefix}/Library/Frameworks/Python.framework/Versions/3.2/Python)
- reinplace {s|^\(LINKFORSHARED=.*\)$(PYTHONFRAMEWORKDIR).*$|\1 $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)|} ${destroot}${framewdir}/lib/python${branch}/config-${branch}m/Makefile
+ reinplace {s|^\(LINKFORSHARED=.*\)$(PYTHONFRAMEWORKDIR).*$|\1 $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)|} ${destroot}${framewdir}/lib/python${branch}/$confdir/Makefile
# remove -arch flags from the config
- reinplace -E {s|-arch [a-z0-9_]+||g} \
- ${destroot}${framewdir}/lib/python${branch}/config-${branch}m/Makefile
+ reinplace -E {s|-arch [a-z0-9_]+||g} \
+ ${destroot}${framewdir}/lib/python${branch}/$confdir/Makefile
}
platform darwin {
@@ -145,6 +146,7 @@
variant ucs4 description {Use 4-byte Unicode characters} {
configure.args-append --with-wide-unicode
+ set confdir config-${branch}mu
}
livecheck.type regex