<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/1298ff17756e7891987e648c86e7ed65536c023b">https://github.com/macports/macports-ports/commit/1298ff17756e7891987e648c86e7ed65536c023b</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 1298ff17756 py-llvmlite: fix build on macOS before 10.13
</span>1298ff17756 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 1298ff17756e7891987e648c86e7ed65536c023b
</span>Author: Kirill A. Korinsky <kirill@korins.ky>
AuthorDate: Sun May 7 17:45:35 2023 +0200
<span style='display:block; white-space:pre;color:#404040;'> py-llvmlite: fix build on macOS before 10.13
</span>---
python/py-llvmlite/Portfile | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-llvmlite/Portfile b/python/py-llvmlite/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 000b774f62b..33eaacc6449 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-llvmlite/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-llvmlite/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,6 +7,7 @@ PortGroup compiler_wrapper 1.0
</span>
github.setup numba llvmlite 0.40.0 v
name py-llvmlite
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories-append devel science
license BSD
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,6 +26,11 @@ checksums rmd160 f94ace13e4b93b3a642dbbd6b278982b16946e6b \
</span> size 260666
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup legacysupport 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ legacysupport.newest_darwin_requires_legacy \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 17
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> patchfiles-append patch-ffi_Makefile.osx.diff
set llvmver "11"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,13 +40,14 @@ if {${name} ne ${subport}} {
</span>
if {${os.major} <= 10} {
# https://trac.macports.org/ticket/61302
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|%%MP_EXTRA_LDFLAGS%%|-framework CoreFoundation|" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/ffi/Makefile.osx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.ldflags-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -framework CoreFoundation
</span> } elseif {${os.major} >= 22} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|%%MP_EXTRA_LDFLAGS%%|-lLLVM|" ${worksrcpath}/ffi/Makefile.osx
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|%%MP_EXTRA_LDFLAGS%%||" ${worksrcpath}/ffi/Makefile.osx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.ldflags-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -lLLVM
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|%%MP_EXTRA_LDFLAGS%%|${configure.ldflags}|" ${worksrcpath}/ffi/Makefile.osx
</span> }
post-destroot {
</pre><pre style='margin:0'>
</pre>