aboutsummaryrefslogtreecommitdiff
path: root/lib/ncurses
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2007-10-20 19:01:50 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2007-10-20 19:01:50 +0000
commit4f6d329f1e26aba171422d5c4bffc837a14f76c1 (patch)
treeed5ca36d008b8deb749d62d3a799fb9af7a66c0f /lib/ncurses
parent2e0a54d6c013c07a4693ab073ef34eb4c403dfd3 (diff)
downloadsrc-4f6d329f1e26aba171422d5c4bffc837a14f76c1.tar.gz
src-4f6d329f1e26aba171422d5c4bffc837a14f76c1.zip
- 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
Notes
Notes: svn path=/head/; revision=172832
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 b619f5175f27..e26922dd14c5 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