summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1998-10-18 20:02:27 +0000
committermillert <millert@openbsd.org>1998-10-18 20:02:27 +0000
commit03a5d0d0c7dc9c528ebe6fc3853d1e10d538479d (patch)
treeceb0508a304acbadaa561de263d06604cc7cb804
parentupdate packages instructions (diff)
downloadwireguard-openbsd-03a5d0d0c7dc9c528ebe6fc3853d1e10d538479d.tar.xz
wireguard-openbsd-03a5d0d0c7dc9c528ebe6fc3853d1e10d538479d.zip
set PATH before running configure since we can't rely on the user's path being sane
-rw-r--r--gnu/lib/libgmp/Makefile.bsd-wrapper4
-rw-r--r--gnu/usr.bin/bc/Makefile.bsd-wrapper4
-rw-r--r--gnu/usr.bin/binutils/Makefile.bsd-wrapper4
-rw-r--r--gnu/usr.bin/cvs/Makefile.bsd-wrapper4
-rw-r--r--gnu/usr.bin/gcc/Makefile.bsd-wrapper4
-rw-r--r--gnu/usr.bin/groff/Makefile.bsd-wrapper4
-rw-r--r--gnu/usr.bin/lynx/Makefile.bsd-wrapper4
-rw-r--r--gnu/usr.bin/perl/Makefile.bsd-wrapper3
-rw-r--r--gnu/usr.bin/rcs/Makefile.bsd-wrapper4
-rw-r--r--gnu/usr.bin/texinfo/Makefile.bsd-wrapper4
-rw-r--r--usr.bin/less/Makefile.bsd-wrapper6
11 files changed, 33 insertions, 12 deletions
diff --git a/gnu/lib/libgmp/Makefile.bsd-wrapper b/gnu/lib/libgmp/Makefile.bsd-wrapper
index 35f368f9f2f..4bdd91b69f7 100644
--- a/gnu/lib/libgmp/Makefile.bsd-wrapper
+++ b/gnu/lib/libgmp/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.7 1998/09/10 03:28:44 millert Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.8 1998/10/18 20:02:27 millert Exp $
SUBDIR+= mpn mpz mpf mpq
@@ -26,10 +26,12 @@ config: .FORCE
.ifndef GLOBAL_AUTOCONF_CACHE
-rm -f config.cache
.endif
+ PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
/bin/sh ${.CURDIR}/configure --with-gnu-as --with-gnu-ld \
--prefix=/usr --local-prefix=/usr ${CF}
config.status: Makefile.in configure
+ PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
/bin/sh ${.CURDIR}/configure --with-gnu-as --with-gnu-ld \
--prefix=/usr --local-prefix=/usr ${CF} && touch config.status
diff --git a/gnu/usr.bin/bc/Makefile.bsd-wrapper b/gnu/usr.bin/bc/Makefile.bsd-wrapper
index f35265c2b5d..02898a9d201 100644
--- a/gnu/usr.bin/bc/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/bc/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.5 1998/08/28 18:21:10 kstailey Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.6 1998/10/18 20:02:28 millert Exp $
SUBDIR=bcwrap
@@ -24,11 +24,13 @@ 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}" \
CFLAGS="${CFLAGS}" \
sh ${.CURDIR}/configure --prefix=${PREFIX}/usr --infodir=${PREFIX}/usr/share/info ${CF}
config.status:
+ PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
CFLAGS="${CFLAGS}" \
sh ${.CURDIR}/configure --prefix=${PREFIX}/usr --infodir=${PREFIX}/usr/share/info ${CF}
diff --git a/gnu/usr.bin/binutils/Makefile.bsd-wrapper b/gnu/usr.bin/binutils/Makefile.bsd-wrapper
index 608398a029b..79f73d6f9ce 100644
--- a/gnu/usr.bin/binutils/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/binutils/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.27 1998/08/08 08:42:43 downsj Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.28 1998/10/18 20:02:29 millert Exp $
SUBDIRS= libiberty opcodes bfd
MAN=
@@ -46,9 +46,11 @@ config: .FORCE
.ifndef GLOBAL_AUTOCONF_CACHE
-rm -f config.cache
.endif
+ PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
sh ${.CURDIR}/configure --prefix=/usr --infodir=/usr/share/info --disable-gdbtk ${CF}
config.status:
+ PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
sh ${.CURDIR}/configure --prefix=/usr --infodir=/usr/share/info --disable-gdbtk ${CF}
.ifdef NOMAN
diff --git a/gnu/usr.bin/cvs/Makefile.bsd-wrapper b/gnu/usr.bin/cvs/Makefile.bsd-wrapper
index 15e9b5c3587..14b1206317b 100644
--- a/gnu/usr.bin/cvs/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/cvs/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.28 1998/08/24 19:35:35 kstailey Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.29 1998/10/18 20:02:29 millert Exp $
.include <bsd.own.mk>
@@ -28,10 +28,12 @@ CF=
config: .FORCE
-rm -f config.cache
+ PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
sh ${.CURDIR}/configure --prefix=/usr ${KRB} ${CF}
config.status:
+ PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
sh ${.CURDIR}/configure --prefix=/usr ${KRB} ${CF}
diff --git a/gnu/usr.bin/gcc/Makefile.bsd-wrapper b/gnu/usr.bin/gcc/Makefile.bsd-wrapper
index eb77826136c..25a9e40ad0e 100644
--- a/gnu/usr.bin/gcc/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/gcc/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.33 1998/03/06 21:38:01 niklas Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.34 1998/10/18 20:02:30 millert Exp $
MAN= cccp.1 gcc.1 cp/g++.1 f/g77.1
MLINKS+= gcc.1 cc.1
@@ -42,12 +42,14 @@ 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 --with-gnu-as --with-gnu-ld \
--prefix=/usr --with-local-prefix=/usr ${CF} \
--with-gxx-include-dir=${GPP_INC_DIR} ${GCCARCH}
config.status: Makefile.in configure c-parse.in
+ PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
/bin/sh ${.CURDIR}/configure --with-gnu-as --with-gnu-ld \
--prefix=/usr --with-local-prefix=/usr ${CF} \
diff --git a/gnu/usr.bin/groff/Makefile.bsd-wrapper b/gnu/usr.bin/groff/Makefile.bsd-wrapper
index d52d59ef71b..a270a5a22f1 100644
--- a/gnu/usr.bin/groff/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/groff/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.10 1997/09/05 07:18:35 kstailey Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.11 1998/10/18 20:02:31 millert Exp $
#
# groff config
@@ -60,11 +60,13 @@ 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=${PREFIX} \
--mandir=${DATASUBDIR}/man ${CF}
config.status:
+ PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
/bin/sh ${.CURDIR}/configure --prefix=${PREFIX} \
--mandir=${DATASUBDIR}/man ${CF}
diff --git a/gnu/usr.bin/lynx/Makefile.bsd-wrapper b/gnu/usr.bin/lynx/Makefile.bsd-wrapper
index 847104dbb3b..d60ddb6be65 100644
--- a/gnu/usr.bin/lynx/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/lynx/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.2 1998/03/14 17:16:06 maja Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.3 1998/10/18 20:02:35 millert Exp $
MAN= lynx.1
CLEANFILES= lynx.1
@@ -32,10 +32,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}" \
sh ${.CURDIR}/configure --prefix=/usr --libdir=/etc ${CF}
config.status:
+ PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
sh ${.CURDIR}/configure --prefix=/usr --libdir=/etc ${CF}
diff --git a/gnu/usr.bin/perl/Makefile.bsd-wrapper b/gnu/usr.bin/perl/Makefile.bsd-wrapper
index f5f0eb0d525..aa4844efc15 100644
--- a/gnu/usr.bin/perl/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/perl/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.21 1998/09/19 18:18:03 deraadt Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.22 1998/10/18 20:02:34 millert Exp $
#
# Build wrapper for Perl 5.003.
#
@@ -106,6 +106,7 @@ all: ${GENERATED}
(cd ${.OBJDIR}; ${MAKE})
config.sh: config.sh.OpenBSD
+ PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
(cd ${.OBJDIR}; /bin/sh Configure -f config.sh.OpenBSD -dsE)
Makefile:
diff --git a/gnu/usr.bin/rcs/Makefile.bsd-wrapper b/gnu/usr.bin/rcs/Makefile.bsd-wrapper
index ddba2dddf4b..32cbc8d03d7 100644
--- a/gnu/usr.bin/rcs/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/rcs/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.13 1997/09/05 07:17:18 kstailey Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.14 1998/10/18 20:02:32 millert Exp $
MAN= man/ci.1 man/co.1 man/ident.1 man/merge.1 man/rcs.1 man/rcsclean.1 \
man/rcsdiff.1 man/rcsfile.5 man/rcsfreeze.1 man/rcsintro.1 \
@@ -24,10 +24,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}" \
sh ${.CURDIR}/configure --with-diffutils --prefix=/usr ${CF}
config.status:
+ PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
sh ${.CURDIR}/configure --with-diffutils --prefix=/usr ${CF}
diff --git a/gnu/usr.bin/texinfo/Makefile.bsd-wrapper b/gnu/usr.bin/texinfo/Makefile.bsd-wrapper
index f18daf36229..660b166715c 100644
--- a/gnu/usr.bin/texinfo/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/texinfo/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.24 1997/09/05 19:53:23 flipk Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.25 1998/10/18 20:02:35 millert Exp $
INFODIR= infodir=${DESTDIR}/usr/share/info
INFOPATH= DEFAULT_INFOPATH=/usr/local/info:/usr/share/info:.
@@ -28,10 +28,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}
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}