<pre style='margin:0'>
Craig Treleaven (ctreleaven) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/aab08b023e83e528a2656f65f025099e2e7e6cb9">https://github.com/macports/macports-ports/commit/aab08b023e83e528a2656f65f025099e2e7e6cb9</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new aab08b023e8 libprelude: avoid build errors on older OS
</span>aab08b023e8 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit aab08b023e83e528a2656f65f025099e2e7e6cb9
</span>Author: Craig Treleaven <ctreleaven@macports.org>
AuthorDate: Sat Mar 12 12:10:49 2022 -0500
<span style='display:block; white-space:pre;color:#404040;'> libprelude: avoid build errors on older OS
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * prevent +python38 on OSX 10.12 and older
</span><span style='display:block; white-space:pre;color:#404040;'> * set default +python38 on OSX 10.13 and newer
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See https://trac.macports.org/ticket/64805
</span>---
security/libprelude/Portfile | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/libprelude/Portfile b/security/libprelude/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1d04934cc7b..fb6d5936def 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/security/libprelude/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/security/libprelude/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,7 +1,6 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup compiler_blacklist_versions 1.0
</span>
name libprelude
version 5.2.0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -68,15 +67,23 @@ destroot.keepdirs \
</span> ${destroot}${prefix}/var/spool/prelude \
${destroot}${prefix}/etc/prelude/profile
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# coordinate default python version with libpreludedb
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-default_variants +python38
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} < 17} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_isset python38]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # needs fmemopen which is present in OSX SDK 10.13 and later
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "${name} python bindings are not available on OSX 10.12 and earlier."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "+python38 is not supported`"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # coordinate default python version with libpreludedb
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +python38
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
variant python38 description {python3.8 bindings} {
configure.args-replace --without-python3 \
--with-python3=${prefix}/bin/python3.8
depends_lib-append port:python38
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # needs fmemopen which is present in XCode 9.4.1--OSX 10.13--and later
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- compiler.blacklist-append {clang < 902}
</span> }
variant perl description {perl bindings} {
</pre><pre style='margin:0'>
</pre>