summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2019-08-08 20:12:06 -0600
committerTim Harder <radhermit@gentoo.org>2019-08-08 20:13:38 -0600
commit79fc4e53c5ce05518a477b059400ea866d7d69e9 (patch)
tree42de44f44cfa8b26ea0f37988e9ad39dd53501e9
parentnet-misc/libteam: Fix bad file name (diff)
downloadgentoo-79fc4e53c5ce05518a477b059400ea866d7d69e9.tar.gz
gentoo-79fc4e53c5ce05518a477b059400ea866d7d69e9.tar.bz2
gentoo-79fc4e53c5ce05518a477b059400ea866d7d69e9.zip
games-util/wit: fix build failures due to ncurses linking
Closes: https://bugs.gentoo.org/690222 Signed-off-by: Tim Harder <radhermit@gentoo.org>
-rw-r--r--games-util/wit/files/wit-3.02a-makefile.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/games-util/wit/files/wit-3.02a-makefile.patch b/games-util/wit/files/wit-3.02a-makefile.patch
index 7d3be3fbd57..a0dea1405a6 100644
--- a/games-util/wit/files/wit-3.02a-makefile.patch
+++ b/games-util/wit/files/wit-3.02a-makefile.patch
@@ -1,5 +1,5 @@
Don't link libdl into wfuse as it's unnecessary, use system bzip2, respect user
-CFLAGS, and use verbose build output.
+CFLAGS, use pkgconfig to determine ncurses libs, and use verbose build output.
--- wiimms-iso-tools.source-3.02a/Makefile
+++ wiimms-iso-tools.source-3.02a/Makefile
@@ -40,7 +40,7 @@ CFLAGS, and use verbose build output.
LIBS += -lz
endif
-LIBS += -lm -lncurses $(XLIBS)
-+LIBS += -lm -lncurses -lbz2 $(XLIBS)
++LIBS += -lm $(shell pkg-config --libs ncurses) -lbz2 $(XLIBS)
DISTRIB_RM = ./wit-v$(VERSION)-r
DISTRIB_BASE = wit-v$(VERSION)-r$(REVISION_NEXT)