From 1241beb6e5725096b6a27987b23bc1a4fc45cb40 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 11 Jun 2021 00:17:41 +0000 Subject: sys-apps/grepcidr: port to EAPI 7 * Fix VariableScope (EROOT) * Respect CPPFLAGS, LDFLAGS Closes: https://bugs.gentoo.org/725602 Signed-off-by: Sam James --- sys-apps/grepcidr/files/grepcidr-2.0-Makefile.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sys-apps/grepcidr/files/grepcidr-2.0-Makefile.patch (limited to 'sys-apps/grepcidr/files') diff --git a/sys-apps/grepcidr/files/grepcidr-2.0-Makefile.patch b/sys-apps/grepcidr/files/grepcidr-2.0-Makefile.patch new file mode 100644 index 000000000000..e9eb0a39113a --- /dev/null +++ b/sys-apps/grepcidr/files/grepcidr-2.0-Makefile.patch @@ -0,0 +1,12 @@ +Respect CPPFLAGS, LDFLAGS> +--- a/Makefile ++++ b/Makefile +@@ -15,7 +15,7 @@ LDFLAGS= + all: grepcidr + + grepcidr: grepcidr.o +- $(CC) $(CFLAGS) grepcidr.o -o grepcidr ++ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) grepcidr.o -o grepcidr + + doc: grepcidr.1 + -- cgit v1.2.3-65-gdbad