<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/21de3abe9c3a03acfd129ba237511e2443587f65">https://github.com/macports/macports-ports/commit/21de3abe9c3a03acfd129ba237511e2443587f65</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 21de3abe9c3 grepcidr: use MP flags
</span>21de3abe9c3 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 21de3abe9c3a03acfd129ba237511e2443587f65
</span>Author: Eric F <eric@iefdev.se>
AuthorDate: Sun Sep 6 10:04:48 2020 +0200
<span style='display:block; white-space:pre;color:#404040;'> grepcidr: use MP flags
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - Add LDFLAGS to build
</span><span style='display:block; white-space:pre;color:#404040;'> - Use CFLAGS and LDFLAGS from MP
</span><span style='display:block; white-space:pre;color:#404040;'> - Closes: https://trac.macports.org/ticket/61123
</span>---
sysutils/grepcidr/Portfile | 6 ++++--
sysutils/grepcidr/files/patch-ldflags.diff | 11 +++++++++++
2 files changed, 15 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/grepcidr/Portfile b/sysutils/grepcidr/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 422c2deefec..0adb5ae1d22 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/grepcidr/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/grepcidr/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup makefile 1.0
</span>
name grepcidr
version 2.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span>
categories sysutils net
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,7 +37,9 @@ post-extract {
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-makefile.override PREFIX
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-ldflags.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+makefile.override PREFIX CFLAGS LDFLAGS
</span>
notes "
For usage and examples, please refer to the manual:
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/grepcidr/files/patch-ldflags.diff b/sysutils/grepcidr/files/patch-ldflags.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..d809953e3a3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/grepcidr/files/patch-ldflags.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.orig 2020-09-06 09:46:30.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile 2020-09-06 09:46:36.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -15,7 +15,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ all: grepcidr
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ grepcidr: grepcidr.o
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $(CC) $(CFLAGS) grepcidr.o -o grepcidr
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(CC) $(CFLAGS) $(LDFLAGS) grepcidr.o -o grepcidr
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ doc: grepcidr.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>