<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/9d63337ad9d4b929c27ae1a8852c8f529eb33a59">https://github.com/macports/macports-ports/commit/9d63337ad9d4b929c27ae1a8852c8f529eb33a59</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 9d63337ad9d bison: fix build on Rosetta Fixes: https://trac.macports.org/ticket/64486
</span>9d63337ad9d is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 9d63337ad9d4b929c27ae1a8852c8f529eb33a59
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Thu Aug 4 17:52:01 2022 +0545
<span style='display:block; white-space:pre;color:#404040;'> bison: fix build on Rosetta
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/64486
</span>---
devel/bison/Portfile | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/bison/Portfile b/devel/bison/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 58d4e1b4740..b28530bd634 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/bison/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/bison/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -13,7 +13,6 @@ if {${subport} eq "bison"} {
</span> revision 0
}
categories devel
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> if {${subport} eq "bison-runtime"} {
supported_archs noarch
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -72,6 +71,15 @@ configure.args --disable-silent-rules \
</span> ac_cv_prog_HAVE_JVIEW_IN_PATH= \
ac_cv_prog_VALGRIND=
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Fix for Rosetta: https://trac.macports.org/ticket/64486
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin 10 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${build_arch} eq "ppc"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --build=powerpc-apple-darwin${os.major} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CC="${configure.cc} -arch ppc"
</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> if {${subport} eq "bison-runtime"} {
build.dir ${worksrcpath}/runtime-po
livecheck.type none
</pre><pre style='margin:0'>
</pre>