[MacPorts] #41440: python27 +universal build fail
MacPorts
noreply at macports.org
Mon Nov 18 23:19:02 PST 2013
#41440: python27 +universal build fail
-----------------------+--------------------------------
Reporter: leo@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: python27 |
-----------------------+--------------------------------
Comment (by leo@…):
Workaround:
{{{
$ sudo port edit python27
}}}
Change:
{{{
---
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/python27/Portfile
2013-11-13 01:00:49.000000000 +0400
+++ /tmp/python27-Portfile 2013-11-19 11:05:42.000000000 +0400
@@ -74,7 +76,7 @@
}
post-configure {
- reinplace "s;/* #undef PY_FORMAT_LONG_LONG */;#define
PY_FORMAT_LONG_LONG \"ll\";" pyconfig.h
+ reinplace "s;/\\* #undef PY_FORMAT_LONG_LONG \\*/;#define
PY_FORMAT_LONG_LONG \"ll\";" pyconfig.h
}
build.target all
@@ -139,7 +141,7 @@
if {${configure.sdkroot} != ""} {
configure.args-append --enable-
universalsdk=${configure.sdkroot}
} else {
- configure.args-append --enable-universalsdk=/
+ configure.args-append --enable-universalsdk=`xcrun --show-sdk-
path`
}
}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/41440#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list