<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5f76a0ec2913c220f43f6e58958ca74bf9b56182">https://github.com/macports/macports-ports/commit/5f76a0ec2913c220f43f6e58958ca74bf9b56182</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 5f76a0ec2913c220f43f6e58958ca74bf9b56182
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Wed Jan 26 00:25:08 2022 -0600
<span style='display:block; white-space:pre;color:#404040;'> lader: Fix macOS 11+ libtool bug
</span>---
textproc/lader/Portfile | 3 ++-
textproc/lader/files/dynamic_lookup-11.patch | 25 +++++++++++++++++++++++++
2 files changed, 27 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/lader/Portfile b/textproc/lader/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 620e1299f9d..5c9cefeaa57 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/lader/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/lader/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,13 +21,14 @@ long_description lader is a program that is able to train and use \
</span> improve translation accuracy.
homepage http://www.phontron.com/lader/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> license EPL-1
master_sites ${homepage}download/
checksums rmd160 2bd6188a2ee367c446852fac8984e781ab83607b \
sha256 9605ed69530b234345caafe2d94d94627c55d8315c4684e3a5e9713b289abac1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles dynamic_lookup-11.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args-append --with-boost=[boost::install_area]
post-destroot {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/lader/files/dynamic_lookup-11.patch b/textproc/lader/files/dynamic_lookup-11.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..b18b53be519
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/lader/files/dynamic_lookup-11.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,25 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Recognize macOS 11 and later, remove inaccurate comment, and simplify.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://debbugs.gnu.org/cgi/bugreport.cgi?bug=44605
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2015-08-29 10:08:56.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2022-01-26 00:24:11.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -7585,16 +7585,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ darwin1.*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- darwin*) # darwin 5.x on
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # if running on 10.5 or later, the deployment target defaults
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # to the OS version, if on x86, and 10.4, the deployment
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # target defaults to 10.4. Don't you love it?
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 10.[012][,.]*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ darwin*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ case $MACOSX_DEPLOYMENT_TARGET,$host in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ 10.[012],*|,*powerpc*-darwin[5-8]*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 10.*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span></pre><pre style='margin:0'>
</pre>