diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-10-18 20:02:37 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-10-18 20:02:37 +0000 |
commit | d5edb539bab16e3d4e8fe30ae3f821747031a447 (patch) | |
tree | 277a6b6557a0a5dca0ffb1633c23e959b8595ac0 /usr.bin/less/Makefile.bsd-wrapper | |
parent | 1b521a89fb375b89ea9dd992de1dc3a1a8f70c74 (diff) |
set PATH before running configure since we can't rely on the user's path being sane
Diffstat (limited to 'usr.bin/less/Makefile.bsd-wrapper')
-rw-r--r-- | usr.bin/less/Makefile.bsd-wrapper | 6 |
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} |