summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2003-02-02 15:20:12 +0000
committerMarc Espie <espie@cvs.openbsd.org>2003-02-02 15:20:12 +0000
commit09e6d0d93f5a520c5819dda4ad20beeb4823f0d9 (patch)
treebf9f9936829ad95521c9774805f520ea23ba3671 /gnu
parente4485748d4517424bcaf033f08504cfabb5229cb (diff)
pass BSDSRCDIR in environment to submakes.
This `repairs' setting up BSDSRCDIR in /etc/mk.conf and nowhere else.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/Makefile.bsd-wrapper4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/Makefile.bsd-wrapper b/gnu/usr.bin/binutils/Makefile.bsd-wrapper
index 6f0e004817b..981c1bd4a7f 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.48 2002/08/11 22:51:48 art Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.49 2003/02/02 15:20:11 espie Exp $
NEW_BINUTILS=alpha mips powerpc hppa sparc64 sparc
@@ -42,6 +42,7 @@ all: config.status
CFLAGS="${CFLAGS} ${COPTS}" LDFLAGS=${LDSTATIC} \
scriptdir=${PREFIX}/libdata \
tooldir=${PREFIX} \
+ BSDSRCDIR=${BSDSRCDIR} \
ALL_MODULES="${ALL_MODULES}" \
ALL_X11_MODULES="${ALL_X11_MODULES}" all info
cd ${.OBJDIR}/binutils && \
@@ -79,6 +80,7 @@ install: maninstall
INSTALL_MAN= \
scriptdir=${PREFIX}/libdata \
tooldir=${PREFIX} \
+ BSDSRCDIR=${BSDSRCDIR} \
INSTALL_MODULES='${INSTALL_MODULES}' install install-info
cd ${.OBJDIR}/binutils && \
${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP} -o ${BINOWN} -g ${BINGRP} \