summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-11-14 00:50:19 +0000
committermillert <millert@openbsd.org>2002-11-14 00:50:19 +0000
commit7846b2452aed78f013e7cbf1772619fd1ba5a4e1 (patch)
treee2039fb4f09b392a9eb096ee76335ae92f20f900
parentsync (diff)
downloadwireguard-openbsd-7846b2452aed78f013e7cbf1772619fd1ba5a4e1.tar.xz
wireguard-openbsd-7846b2452aed78f013e7cbf1772619fd1ba5a4e1.zip
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.
-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>