diff options
Diffstat (limited to 'lib/ncurses')
-rw-r--r-- | lib/ncurses/form/Makefile | 2 | ||||
-rw-r--r-- | lib/ncurses/menu/Makefile | 2 | ||||
-rw-r--r-- | lib/ncurses/ncurses/Makefile | 3 | ||||
-rw-r--r-- | lib/ncurses/panel/Makefile | 2 |
4 files changed, 9 insertions, 0 deletions
diff --git a/lib/ncurses/form/Makefile b/lib/ncurses/form/Makefile index faeb973..fe89d45 100644 --- a/lib/ncurses/form/Makefile +++ b/lib/ncurses/form/Makefile @@ -57,7 +57,9 @@ CFLAGS+= -I${NCURSES_DIR}/menu DPADD= ${LIBNCURSES${LIB_SUFFIX:U}} LDADD= -lncurses${LIB_SUFFIX} +.if defined(ENABLE_WIDEC) INCS= form.h +.endif .PATH: ${NCURSES_DIR}/man MAN= \ diff --git a/lib/ncurses/menu/Makefile b/lib/ncurses/menu/Makefile index 96bd0d0..a853d8c 100644 --- a/lib/ncurses/menu/Makefile +++ b/lib/ncurses/menu/Makefile @@ -43,7 +43,9 @@ CFLAGS+= -I${SRCDIR} DPADD= ${LIBNCURSES${LIB_SUFFIX:U}} LDADD= -lncurses${LIB_SUFFIX} +.if defined(ENABLE_WIDEC) INCS= menu.h eti.h +.endif .PATH: ${NCURSES_DIR}/man MAN= \ diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile index 53b2d31..0876f9d 100644 --- a/lib/ncurses/ncurses/Makefile +++ b/lib/ncurses/ncurses/Makefile @@ -274,8 +274,11 @@ CFLAGS+= -DFREEBSD_NATIVE -DTERMIOS # Installed HEADERS= curses.h term.h termcap.h unctrl.h SRCHDRS= ncurses_dll.h + +.if defined(ENABLE_WIDEC) INCS= ${HEADERS} ${SRCHDRS} INCSLINKS= curses.h ${INCLUDEDIR}/ncurses.h +.endif .if !defined(NO_INSTALLLIB) SYMLINKS+= libncurses${LIB_SUFFIX}.a ${LIBDIR}/libcurses${LIB_SUFFIX}.a diff --git a/lib/ncurses/panel/Makefile b/lib/ncurses/panel/Makefile index 1f73491..12b8b06 100644 --- a/lib/ncurses/panel/Makefile +++ b/lib/ncurses/panel/Makefile @@ -32,7 +32,9 @@ CFLAGS+= -I${SRCDIR} DPADD= ${LIBNCURSES${LIB_SUFFIX:U}} LDADD= -lncurses${LIB_SUFFIX} +.if defined(ENABLE_WIDEC) INCS= panel.h +.endif # generate MAN .PATH: ${NCURSES_DIR}/man |