mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-07 21:55:04 +02:00
- EAPI bump to 8 - sync keywords with 0.15-r5 - sync stop-installing-terminfo patch with upstream - modification of 9999-gentoo.patch which fixes bug 870526 because addnwstr function is defined in ncursesw. Bug: https://bugs.gentoo.org/870526 Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Signed-off-by: Sam James <sam@gentoo.org>
14 lines
512 B
Diff
14 lines
512 B
Diff
--- a/config.mk
|
|
+++ b/config.mk
|
|
@@ -7,8 +7,9 @@ MANPREFIX = ${PREFIX}/share/man
|
|
TERMINFO := ${DESTDIR}${PREFIX}/share/terminfo
|
|
|
|
INCS = -I.
|
|
-LIBS = -lc -lutil -lncursesw
|
|
-CPPFLAGS = -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_XOPEN_SOURCE_EXTENDED
|
|
+LIBS = -lc -lutil $(shell $(PKG_CONFIG) --libs ncursesw)
|
|
+CPPFLAGS += -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_XOPEN_SOURCE_EXTENDED
|
|
+CPPFLAGS += $(shell $(PKG_CONFIG) --cflags ncursesw)
|
|
CFLAGS += -std=c99 ${INCS} -DNDEBUG ${CPPFLAGS}
|
|
|
|
CC ?= cc
|