summaryrefslogtreecommitdiff
path: root/usr.bin/less
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-10-18 20:02:37 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-10-18 20:02:37 +0000
commitd5edb539bab16e3d4e8fe30ae3f821747031a447 (patch)
tree277a6b6557a0a5dca0ffb1633c23e959b8595ac0 /usr.bin/less
parent1b521a89fb375b89ea9dd992de1dc3a1a8f70c74 (diff)
set PATH before running configure since we can't rely on the user's path being sane
Diffstat (limited to 'usr.bin/less')
-rw-r--r--usr.bin/less/Makefile.bsd-wrapper6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/less/Makefile.bsd-wrapper b/usr.bin/less/Makefile.bsd-wrapper
index 2c6f7af0a4d..62b3fe05643 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.16 1997/09/05 07:15:10 kstailey Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.17 1998/10/18 20:02:36 millert Exp $
#
# less config
@@ -7,7 +7,7 @@ PREFIX= /usr
BINDIR= ${PREFIX}/bin
DATADIR= ${PREFIX}/share/misc
LESS_HLP= more.help
-LIBS= -ltermcap
+LIBS= -lcurses
LINKS= ${BINDIR}/less ${BINDIR}/more ${BINDIR}/less ${BINDIR}/page
MAN= less.1 lesskey.1
MLINKS= less.1 more.1 less.1 page.1
@@ -55,10 +55,12 @@ config: .FORCE
.ifndef GLOBAL_AUTOCONF_CACHE
-rm -f config.cache
.endif
+ PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
/bin/sh ${.CURDIR}/configure --prefix=/usr ${CF}
config.status:
+ PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
/bin/sh ${.CURDIR}/configure --prefix=/usr ${CF}