summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-19 09:00:36 +0100
committerSam James <sam@gentoo.org>2021-04-19 20:10:49 +0100
commitc48b2f55d55129945a8f8fa85d57e89de51f7d54 (patch)
tree820daae5589d2526f32e6d5de6bdffd0c2eaeca0 /dev-util/wiggle
parentdev-util/dropwatch: respect PKG_CONFIG, tidy up patch (diff)
downloadgentoo-c48b2f55d55129945a8f8fa85d57e89de51f7d54.tar.gz
gentoo-c48b2f55d55129945a8f8fa85d57e89de51f7d54.tar.bz2
gentoo-c48b2f55d55129945a8f8fa85d57e89de51f7d54.zip
dev-util/wiggle: repsect PKG_CONFIG
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/wiggle')
-rw-r--r--dev-util/wiggle/files/wiggle-1.0-cflags.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-util/wiggle/files/wiggle-1.0-cflags.patch b/dev-util/wiggle/files/wiggle-1.0-cflags.patch
index ce5defb7bb89..d9bc8c713b86 100644
--- a/dev-util/wiggle/files/wiggle-1.0-cflags.patch
+++ b/dev-util/wiggle/files/wiggle-1.0-cflags.patch
@@ -1,7 +1,7 @@
Respect user CFLAGS and use pkg-config to get ncurses libs.
---- wiggle-1.0/Makefile
-+++ wiggle-1.0/Makefile
+--- a/Makefile
++++ b/Makefile
@@ -3,7 +3,7 @@
#OptDbg=-O3
#OptDbg=-O3 -march=pentium2
@@ -16,7 +16,7 @@ Respect user CFLAGS and use pkg-config to get ncurses libs.
MAN1DIR = $(MANDIR)/man1
MAN5DIR = $(MANDIR)/man5
-LDLIBS = -lncurses
-+LDLIBS = $(shell pkg-config --libs ncurses)
++LDLIBS = $(shell ${PKG_CONFIG} --libs ncurses)
all: wiggle wiggle.man test