summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-10-04 23:22:21 +0000
committerache <ache@FreeBSD.org>1995-10-04 23:22:21 +0000
commit3b5c5d69f06e0948fc3c7adee751281293d89881 (patch)
tree06214ddefc5eabf116e68a428442de50a63adbe2 /share
parent8a1fa70dc0da9908f692ff6de5fe8ca9cad9f310 (diff)
downloadFreeBSD-src-3b5c5d69f06e0948fc3c7adee751281293d89881.zip
FreeBSD-src-3b5c5d69f06e0948fc3c7adee751281293d89881.tar.gz
Add CONFIGURE_ENV: pass this environment to configure script.
Allows pre-set some variables to eliminate wrong tests
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.port.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/share/mk/bsd.port.mk b/share/mk/bsd.port.mk
index a1febde..3685312 100644
--- a/share/mk/bsd.port.mk
+++ b/share/mk/bsd.port.mk
@@ -3,7 +3,7 @@
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
#
-# $Id: bsd.port.mk,v 1.180 1995/10/02 22:12:47 asami Exp $
+# $Id: bsd.port.mk,v 1.181 1995/10/04 11:13:52 asami Exp $
#
# Please view me with 4 column tabs!
@@ -96,6 +96,7 @@
# GNU_CONFIGURE - Set if you are using GNU configure (optional).
# CONFIGURE_SCRIPT - Name of configure script, defaults to 'configure'.
# CONFIGURE_ARGS - Pass these args to configure, if ${HAS_CONFIGURE} set.
+# CONFIGURE_ENV - Pass these env (shell-like) to configure, if ${HAS_CONFIGURE} set.
# IS_INTERACTIVE - Set this if your port needs to interact with the user
# during a build. User can then decide to skip this port by
# setting ${BATCH}, or compiling only the interactive ports
@@ -599,7 +600,7 @@ do-configure:
@(cd ${WRKSRC}; CC="${CC}" ac_cv_path_CC="${CC}" CFLAGS="${CFLAGS}" \
INSTALL="/usr/bin/install -c -o ${BINOWN} -g ${BINGRP}" \
INSTALL_PROGRAM="/usr/bin/install ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}" \
- ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS})
+ ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS})
.endif
.if defined(USE_IMAKE)
@(cd ${WRKSRC}; ${XMKMF})
OpenPOWER on IntegriCloud