summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-19 08:57:39 +0100
committerSam James <sam@gentoo.org>2021-04-19 20:10:43 +0100
commit8d81d82ef380e23cc0552c589b3c144935176dbd (patch)
tree0ac8fc95b15b5dc1e5f181b343094b3c426db59b /app-misc/wcd/files/wcd-5.2.5-gentoo.patch
parentapp-misc/dvorak7min: respect PKG_CONFIG (diff)
downloadgentoo-8d81d82ef380e23cc0552c589b3c144935176dbd.tar.gz
gentoo-8d81d82ef380e23cc0552c589b3c144935176dbd.tar.bz2
gentoo-8d81d82ef380e23cc0552c589b3c144935176dbd.zip
app-misc/wcd: respect PKG_CONFIG and depend on pkgconfig
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-misc/wcd/files/wcd-5.2.5-gentoo.patch')
-rw-r--r--app-misc/wcd/files/wcd-5.2.5-gentoo.patch9
1 files changed, 2 insertions, 7 deletions
diff --git a/app-misc/wcd/files/wcd-5.2.5-gentoo.patch b/app-misc/wcd/files/wcd-5.2.5-gentoo.patch
index c838e131aa5..82a1594399b 100644
--- a/app-misc/wcd/files/wcd-5.2.5-gentoo.patch
+++ b/app-misc/wcd/files/wcd-5.2.5-gentoo.patch
@@ -1,8 +1,3 @@
- src/Makefile | 20 ++++++++++----------
- 1 file changed, 10 insertions(+), 10 deletions(-)
-
-diff --git a/src/Makefile b/src/Makefile
-index d4120cc..4505b8d 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -46,12 +46,12 @@ include version.mk
@@ -25,10 +20,10 @@ index d4120cc..4505b8d 100644
ifdef UCS
- CURSES = ncursesw
-+ CURSES = $(shell pkg-config --libs ncursesw)
++ CURSES = $(shell ${PKG_CONFIG} --libs ncursesw)
else
- CURSES = ncurses
-+ CURSES = $(shell pkg-config --libs ncurses)
++ CURSES = $(shell ${PKG_CONFIG} --libs ncurses)
endif
ifdef CURSES