summaryrefslogtreecommitdiffstats
path: root/lib/ncurses
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2007-10-20 19:01:50 +0000
committerru <ru@FreeBSD.org>2007-10-20 19:01:50 +0000
commitdb64b4a4bcc907ff32d7d6e08c3b68229edbb051 (patch)
treeed5ca36d008b8deb749d62d3a799fb9af7a66c0f /lib/ncurses
parentc5e068d896110d36b2af67fd2901295bcf4c1c76 (diff)
downloadFreeBSD-src-db64b4a4bcc907ff32d7d6e08c3b68229edbb051.zip
FreeBSD-src-db64b4a4bcc907ff32d7d6e08c3b68229edbb051.tar.gz
- Convert NO_INSTALLLIB option to a new syntax: makefiles should
test MK_INSTALLLIB, users can set WITHOUT_INSTALLLIB. The old NO_INSTALLLIB is still supported as several makefiles set it. - While here, fix an install when instructed not to install libs (usr.bin/lex/lib/Makefile). PR: bin/114200 Submitted by: Henrik Brix Andersen
Diffstat (limited to 'lib/ncurses')
-rw-r--r--lib/ncurses/ncurses/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile
index b619f51..e26922d 100644
--- a/lib/ncurses/ncurses/Makefile
+++ b/lib/ncurses/ncurses/Makefile
@@ -280,7 +280,7 @@ INCS= ${HEADERS} ${SRCHDRS}
INCSLINKS= curses.h ${INCLUDEDIR}/ncurses.h
.endif
-.if !defined(NO_INSTALLLIB)
+.if ${MK_INSTALLLIB} != "no"
SYMLINKS+= libncurses${LIB_SUFFIX}.a ${LIBDIR}/libcurses${LIB_SUFFIX}.a
SYMLINKS+= libncurses${LIB_SUFFIX}.a ${LIBDIR}/libtermcap${LIB_SUFFIX}.a
SYMLINKS+= libncurses${LIB_SUFFIX}.a ${LIBDIR}/libtermlib${LIB_SUFFIX}.a
OpenPOWER on IntegriCloud