<pre style='margin:0'>
Raphael Straub (raphael-st) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/693792562d02e0ab6eec0d6b1b092a4bac4727f5">https://github.com/macports/macports-ports/commit/693792562d02e0ab6eec0d6b1b092a4bac4727f5</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 693792562d0 libcryptopp: fix linking to libc++
</span>693792562d0 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 693792562d02e0ab6eec0d6b1b092a4bac4727f5
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Wed Mar 27 02:52:01 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> libcryptopp: fix linking to libc++
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/69597
</span>---
devel/libcryptopp/Portfile | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libcryptopp/Portfile b/devel/libcryptopp/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a0bf936d3f4..04e3c6e9cb2 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libcryptopp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libcryptopp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,9 +4,8 @@ PortSystem 1.0
</span>
name libcryptopp
version 8.9.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories devel security
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> maintainers {raphael @raphael-st} openmaintainer
description C++ class library of cryptographic schemes
long_description Crypto++ Library is a free C++ class library of \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,7 +30,7 @@ patchfiles patch-GNUmakefile.diff
</span>
use_configure no
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant universal {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant universal {}
</span>
proc _get_cryptopp_init_priority_flag {compiler} {
if {[string match "macports-gcc*" $compiler]} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -40,9 +39,15 @@ proc _get_cryptopp_init_priority_flag {compiler} {
</span> return ""
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://trac.macports.org/ticket/69597
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${configure.cxx_stdlib} eq "libc++"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxxflags-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -stdlib=libc++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> build.type gnu
build.target dynamic static cryptest.exe
<span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env-append "CXXFLAGS=[get_canonical_archflags cxx] -DNDEBUG [_get_cryptopp_init_priority_flag ${configure.compiler}]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.env-append "CXXFLAGS=[get_canonical_archflags cxx] ${configure.cxxflags} -DNDEBUG [_get_cryptopp_init_priority_flag ${configure.compiler}]"
</span> build.args-append CXX=${configure.cxx} PREFIX=${prefix}
test.run yes
</pre><pre style='margin:0'>
</pre>