aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2013-08-30 00:46:54 +0800
committerbdrewery <bdrewery@FreeBSD.org>2013-08-30 00:46:54 +0800
commitaea3e117239697776931e07b2a0b07402db48b48 (patch)
tree27ea60e02afbb4120ee63b2dc201beed8e4c9397
parent11e0d7022415a92b222bef844f550095ba316c99 (diff)
downloadfreebsd-ports-gnome-aea3e117239697776931e07b2a0b07402db48b48.tar.gz
freebsd-ports-gnome-aea3e117239697776931e07b2a0b07402db48b48.tar.zst
freebsd-ports-gnome-aea3e117239697776931e07b2a0b07402db48b48.zip
- Support overriding CONFIG_SITE
-rw-r--r--Mk/bsd.port.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 9637b89a3e65..2891367d761c 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -2843,8 +2843,9 @@ CONFIGURE_FAIL_MESSAGE?= "Please report the problem to ${MAINTAINER} [maintainer
CONFIGURE_MAX_CMD_LEN!= ${SYSCTL} -n kern.argmax
.endif
GNU_CONFIGURE_PREFIX?= ${PREFIX}
+CONFIG_SITE?= ${PORTSDIR}/Templates/config.site
CONFIGURE_ARGS+= --prefix=${GNU_CONFIGURE_PREFIX} $${_LATE_CONFIGURE_ARGS}
-CONFIGURE_ENV+= CONFIG_SITE=${PORTSDIR}/Templates/config.site lt_cv_sys_max_cmd_len=${CONFIGURE_MAX_CMD_LEN}
+CONFIGURE_ENV+= CONFIG_SITE=${CONFIG_SITE} lt_cv_sys_max_cmd_len=${CONFIGURE_MAX_CMD_LEN}
HAS_CONFIGURE= yes
SET_LATE_CONFIGURE_ARGS= \