summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-11-14 00:50:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-11-14 00:50:20 +0000
commit23f7bbd5681b800a7a5dab81ff67372e8190d1a5 (patch)
treef81f20ccd5d3cef24dd7da93bf3db5758eaad5c4 /lib
parentfa4a57056d995f5deb0da90cec92d693637a4c6f (diff)
Add a link to libncurses. Lots of programs/configure scripts out there
look for ncurses by checking for ncurses.h or libncurses instead of checking for NCURSES_VERSION in curses.h. Closes PR 2942.
Diffstat (limited to 'lib')
-rw-r--r--lib/libcurses/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libcurses/Makefile b/lib/libcurses/Makefile
index ce0f11ac8c5..17a32a41b1f 100644
--- a/lib/libcurses/Makefile
+++ b/lib/libcurses/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.51 2002/08/16 01:59:41 wcobb Exp $
+# $OpenBSD: Makefile,v 1.52 2002/11/14 00:50:19 millert Exp $
# Uncomment this to enable tracing in libcurses
#CURSESTRACE=-DTRACE
@@ -250,11 +250,13 @@ afterinstall:
for i in ${_LIBS}; do \
ln -f $$i `echo $$i | sed 's/curses/termlib/'`; \
ln -f $$i `echo $$i | sed 's/curses/termcap/'`; \
+ ln -f $$i `echo $$i | sed 's/curses/ncurses/'`; \
done
.if (${DEBUGLIBS:L} == "yes")
-cd ${DESTDIR}${LIBDIR}/debug; \
ln -f lib${LIB}.a lib`echo ${LIB} | sed 's/curses/termlib/'`.a; \
ln -f lib${LIB}.a lib`echo ${LIB} | sed 's/curses/termcap/'`.a
+ ln -f lib${LIB}.a lib`echo ${LIB} | sed 's/curses/ncurses/'`.a
.endif
.include <bsd.lib.mk>