<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/695cbeede542da5417e3024edb310939c195f8ca">https://github.com/macports/macports-ports/commit/695cbeede542da5417e3024edb310939c195f8ca</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 695cbeede542da5417e3024edb310939c195f8ca
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Fri Jan 13 20:44:43 2023 +0700
<span style='display:block; white-space:pre;color:#404040;'> fpm: fixes for 10.7–10.8
</span>---
devel/fpm/Portfile | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/fpm/Portfile b/devel/fpm/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e5764c2d16f..b8b30430de9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/fpm/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/fpm/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,6 +1,7 @@
</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:#e0ffe0;'>+PortGroup compiler_blacklist_versions 1.0
</span> PortGroup compilers 1.0
PortGroup github 1.0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,9 +26,11 @@ depends_build-append \
</span>
# Change this, once older OSs are moved to gcc12/13.
platform darwin {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} < 11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} < 13} {
</span> # Lion+ (with Xcode 4.1+) have git; earlier need to bring their own.
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # On 10.8.5 git fetch fails with ssl error.
</span> depends_build-append port:git
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ git.cmd ${prefix}/bin/git
</span> }
if {${os.major} < 10} {
depends_run-append port:gcc7
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -45,8 +48,9 @@ post-patch {
</span> reinplace "s,@VERSION@,${version},g" ${worksrcpath}/install.sh
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Xcode clang of 10.7 fails with error: invalid instruction mnemonic 'cvtsi2ssl'
</span> compiler.blacklist-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- *gcc-4.* macports-gcc-5 macports-gcc-6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {clang < 500} *gcc-4.* macports-gcc-5 macports-gcc-6
</span> compilers.setup require_fortran
use_configure no
</pre><pre style='margin:0'>
</pre>