diff options
author | etheisen <etheisen@cvs.openbsd.org> | 1996-09-22 06:34:08 +0000 |
---|---|---|
committer | etheisen <etheisen@cvs.openbsd.org> | 1996-09-22 06:34:08 +0000 |
commit | 161b998c0d77d0ceb5e862c03ac1948cd3da37b1 (patch) | |
tree | 2c88a5d10275155aaa4768ca449f4f03fc932f45 /usr.bin/less/Makefile.bsd-wrapper | |
parent | 5c3cdc3dba4ef548d640fb6754db35e260831e32 (diff) |
I don't do curses and certainly not with termcap. Fix the libraries
being linked in.
Diffstat (limited to 'usr.bin/less/Makefile.bsd-wrapper')
-rw-r--r-- | usr.bin/less/Makefile.bsd-wrapper | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/less/Makefile.bsd-wrapper b/usr.bin/less/Makefile.bsd-wrapper index 7c1becec455..c1941263f37 100644 --- a/usr.bin/less/Makefile.bsd-wrapper +++ b/usr.bin/less/Makefile.bsd-wrapper @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.bsd-wrapper,v 1.2 1996/09/21 07:49:07 etheisen Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.3 1996/09/22 06:34:07 etheisen Exp $ LINKS= ${BINDIR}/less ${BINDIR}/more ${BINDIR}/less ${BINDIR}/page @@ -8,6 +8,7 @@ LINKS= ${BINDIR}/less ${BINDIR}/more ${BINDIR}/less ${BINDIR}/page PREFIX= /usr DATADIR= $(PREFIX)/share/misc LESS_HLP= more.help +LIBS= -ltermcap MAN= less.1 lesskey.1 MLINKS= less.1 more.1 less.1 page.1 CLEANFILES= config.cache config.log $(MAN) @@ -30,7 +31,7 @@ config.status: /bin/sh $(.CURDIR)/configure --prefix=$(PREFIX) gnu_build: - $(MAKE) $(WCFLAGS) $(WLDFLAGS) datadir=$(DATADIR) LESS_HLP=$(LESS_HLP) + $(MAKE) $(WCFLAGS) $(WLDFLAGS) LIBS=$(LIBS) datadir=$(DATADIR) LESS_HLP=$(LESS_HLP) install: gnu_install maninstall _SUBDIRUSE .if defined(LINKS) && !empty(LINKS) @@ -47,7 +48,7 @@ install: gnu_install maninstall _SUBDIRUSE .endif gnu_install: - $(MAKE) $(WCFLAGS) $(WLDFLAGS) datadir=$(DATADIR) LESS_HLP=$(LESS_HLP) \ + $(MAKE) $(WCFLAGS) $(WLDFLAGS) LIBS=$(LIBS) datadir=$(DATADIR) LESS_HLP=$(LESS_HLP) \ INSTALL_PROGRAM="install $(COPY) $(STRIP) -o $(BINOWN) -g $(BINGRP) -m $(BINMODE)" \ INSTALL_DATA="install $(COPY) -o ${BINOWN} -g ${BINGRP} -m 444" \ INSTALL_MAN= INSTALLDIRS= install |