mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
set PATH before running configure since we can't rely on the user's path being sane
This commit is contained in:
parent
ebd916e23c
commit
03a5d0d0c7
@ -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
|
||||
|
||||
|
@ -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}
|
||||
|
@ -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
|
||||
|
@ -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}
|
||||
|
||||
|
@ -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} \
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
||||
|
@ -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:
|
||||
|
@ -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}
|
||||
|
||||
|
@ -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}
|
||||
|
||||
|
@ -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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user