<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/18a852724bb96fa4b2d2e76f748c1203a80e3e9f">https://github.com/macports/macports-ports/commit/18a852724bb96fa4b2d2e76f748c1203a80e3e9f</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 18a852724bb libgcrypt: Avoid opportunistic use of ggrep
</span>18a852724bb is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 18a852724bb96fa4b2d2e76f748c1203a80e3e9f
</span>Author: Clemens Lang <cal@macports.org>
AuthorDate: Fri Nov 15 11:11:23 2024 +0100

<span style='display:block; white-space:pre;color:#404040;'>    libgcrypt: Avoid opportunistic use of ggrep
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    This fixes the build of gnupg2 in trace mode.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Closes: https://trac.macports.org/ticket/71317
</span>---
 devel/libgcrypt/Portfile | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libgcrypt/Portfile b/devel/libgcrypt/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 10c26693021..c3b656ef602 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libgcrypt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libgcrypt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -8,7 +8,7 @@ PortGroup       muniversal 1.0
</span> 
 name            libgcrypt
 version         1.11.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
 # libs are LGPL, executables and docs are GPL
 license         {GPL-2+ LGPL-2.1+}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,6 +33,14 @@ depends_lib     port:libgpg-error
</span> 
 configure.args  --disable-asm
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# libgcrypt detects GNU grep in $prefix/bin/ggrep when it is installed and uses
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# it in its libgcrypt-config file; If GNU grep is later uninstalled, building
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# against libgcrypt will fail. This can either be fixed by not relying on
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# $prefix/bin/ggrep, or by declaring a runtime dependency on the grep port.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# This does the former.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                GREP="/usr/bin/grep"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # Build fix for compilers that default to c99 (clang)
 configure.cflags-append "-std=gnu89"
 
</pre><pre style='margin:0'>

</pre>