<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/05417dbf343d6033868fccb7c983754de602d224">https://github.com/macports/macports-ports/commit/05417dbf343d6033868fccb7c983754de602d224</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 05417dbf343 gawk: fix build for 10.5: do not use -no_pie ldflag Fixes: https://trac.macports.org/ticket/65944
</span>05417dbf343 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 05417dbf343d6033868fccb7c983754de602d224
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Fri Oct 7 20:28:08 2022 +0800
<span style='display:block; white-space:pre;color:#404040;'> gawk: fix build for 10.5: do not use -no_pie ldflag
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/65944
</span>---
lang/gawk/Portfile | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/gawk/Portfile b/lang/gawk/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a6513059f09..931dcc92e1c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/gawk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/gawk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -10,7 +10,6 @@ categories lang
</span> license GPL-3+
installs_libs no
maintainers {mps @Schamschula} openmaintainer
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> master_sites gnu
homepage https://www.gnu.org/software/gawk/
description The GNU awk utility.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,6 +28,15 @@ depends_build port:gettext
</span>
depends_lib port:gettext-runtime
<span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/65944
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} < 10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s:-Xlinker -no_pie::" ${worksrcpath}/configure
</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;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args --with-libiconv-prefix=${prefix} \
--without-mpfr \
--without-readline \
</pre><pre style='margin:0'>
</pre>