diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-11-30 01:02:19 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-11-30 01:02:19 +0000 |
commit | 9794a5ea4dc5a36c127d8e449600b6afc8793dd3 (patch) | |
tree | 0e14cfc5d77f93fb3048b04f409344973bfb438c /lib/libcurses | |
parent | 416121ed686dea64a7d78660970c9e82b4e85606 (diff) |
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/libcurses')
-rw-r--r-- | lib/libcurses/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libcurses/Makefile b/lib/libcurses/Makefile index 04fec391071..120ec9620f6 100644 --- a/lib/libcurses/Makefile +++ b/lib/libcurses/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.31 1998/11/17 03:51:20 millert Exp $ +# $OpenBSD: Makefile,v 1.32 1998/11/30 01:02:16 millert Exp $ # Uncomment this to enable tracing in libcurses #CURSESTRACE=-DTRACE @@ -202,11 +202,12 @@ names.c codes.c: ${.CURDIR}/MKnames.awk unctrl.c: ${.CURDIR}/MKunctrl.awk echo | ${AWK} -f ${.CURDIR}/MKunctrl.awk > ${.TARGET} -# Link libtermlib to libcurses so we don't break people's Makefiles +# Link libtermlib, libtermcap to libcurses so we don't break people's Makefiles afterinstall: -cd ${DESTDIR}/usr/lib; \ for i in ${_LIBS}; do \ ln -f $$i `echo $$i | sed 's/curses/termlib/'`; \ + ln -f $$i `echo $$i | sed 's/curses/termap/'`; \ done .include <bsd.lib.mk> |