<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/da2ad231c8bf288ee3dffdcdd0c56a758ad37a1e">https://github.com/macports/macports-ports/commit/da2ad231c8bf288ee3dffdcdd0c56a758ad37a1e</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit da2ad231c8bf288ee3dffdcdd0c56a758ad37a1e
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Wed Mar 2 16:35:52 2022 +1100
<span style='display:block; white-space:pre;color:#404040;'> python27: cleanup
</span>---
lang/python27/Portfile | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python27/Portfile b/lang/python27/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 895ef74b256..ffd73d28082 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/python27/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python27/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -74,7 +74,7 @@ if {${subport} eq ${name}} {
</span>
# This port is used by clang-3.4 to bootstrap libcxx
subport ${name}-bootstrap {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- revision [ expr {${revision} + 1} ]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 9
</span>
depends_extract port:xz-bootstrap
depends_skip_archcheck-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -96,7 +96,6 @@ subport ${name}-bootstrap {
</span> compiler.cpath
compiler.library_path
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.ccache no
</span> configure.distcc no
# sterilize PATH
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -117,11 +116,12 @@ configure.args-append \
</span> if {${subport} eq ${name}} {
configure.cppflags-append -I${prefix}/include/db48
configure.ldflags-append -L${prefix}/lib/db48
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # pkg-config removes -I flags for paths in CPATH, which confuses python.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
</span> }
configure.ccache no
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# pkg-config removes -I flags for paths in CPATH, which confuses python.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.env-append PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
</span>
post-patch {
reinplace "s|@@PREFIX@@|${prefix}|g" \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -230,11 +230,7 @@ variant universal {
</span> "s|__UNIVERSAL_ARCHFLAGS__|${configure.universal_cflags}|" \
${worksrcpath}/configure
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${configure.sdkroot} ne ""} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --enable-universalsdk=${configure.sdkroot}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --enable-universalsdk=/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --enable-universalsdk=${configure.sysroot}
</span> }
variant ucs4 description {Enable support for UCS4 (breaks ABI)} {
</pre><pre style='margin:0'>
</pre>