diff options
author | Sam James <sam@gentoo.org> | 2021-06-11 00:17:41 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-06-11 00:29:09 +0000 |
commit | 1241beb6e5725096b6a27987b23bc1a4fc45cb40 (patch) | |
tree | eb078d0db9d1ff665e2e8be21d0ebeb7bc64391c /sys-apps/grepcidr/files | |
parent | sys-apps/heirloom-tools: fix VariableScope (ED) in src_compile (diff) | |
download | gentoo-1241beb6e5725096b6a27987b23bc1a4fc45cb40.tar.gz gentoo-1241beb6e5725096b6a27987b23bc1a4fc45cb40.tar.bz2 gentoo-1241beb6e5725096b6a27987b23bc1a4fc45cb40.zip |
sys-apps/grepcidr: port to EAPI 7
* Fix VariableScope (EROOT)
* Respect CPPFLAGS, LDFLAGS
Closes: https://bugs.gentoo.org/725602
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/grepcidr/files')
-rw-r--r-- | sys-apps/grepcidr/files/grepcidr-2.0-Makefile.patch | 12 |
1 files changed, 12 insertions, 0 deletions
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 + |