summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/less/Makefile.bsd-wrapper7
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