summaryrefslogtreecommitdiffstats
path: root/lib/libocurses
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1998-11-30 01:02:16 +0000
committermillert <millert@openbsd.org>1998-11-30 01:02:16 +0000
commit1f6c73e28717d6d1d0b1ead9dd79f326358fbbcd (patch)
tree9b633d487d0eca3bcd6fe2b05a7cf11776e3feae /lib/libocurses
parentcreate ${DESTDIR}/usr/include/ssl if it does not exist. This is needed because the mtree is done after "make includes" (diff)
downloadwireguard-openbsd-1f6c73e28717d6d1d0b1ead9dd79f326358fbbcd.tar.xz
wireguard-openbsd-1f6c73e28717d6d1d0b1ead9dd79f326358fbbcd.zip
Link -ltermcap to -lcurses and -lotermcap to -locurses. This fixes
problems with 3rd party programs that want to link with both -ltermcap and -lcurses.
Diffstat (limited to 'lib/libocurses')
-rw-r--r--lib/libocurses/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libocurses/Makefile b/lib/libocurses/Makefile
index 19d9d0790fd..7ea0752264c 100644
--- a/lib/libocurses/Makefile
+++ b/lib/libocurses/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 1998/07/23 21:10:24 millert Exp $
+# $OpenBSD: Makefile,v 1.5 1998/11/30 01:02:18 millert Exp $
CFLAGS+=#-DTFILE=\"/dev/ttyp0\"
CFLAGS+=-D_CURSES_PRIVATE -I${.CURDIR}
@@ -26,7 +26,7 @@ includes:
afterinstall:
-cd ${DESTDIR}/usr/lib; \
for i in ${_LIBS}; do \
- ln -f $$i `echo $$i | sed 's/ocurses/termcap/'`; \
+ ln -f $$i `echo $$i | sed 's/ocurses/otermcap/'`; \
done
.include <bsd.lib.mk>