From b0b0df36edd2b389ca6e24e03e62dbc98e86f661 Mon Sep 17 00:00:00 2001 From: bapt Date: Mon, 22 Apr 2013 16:16:46 +0000 Subject: Add a global config.site cache. This has 2 effects: - it caches lots of things autotools are looking for and we know that are already on FreeBSD (speeding up configure scripts) - it forces the autotool enable build chain to use by default commands from the base system like sed, awk, cp, bzip2, gzip etc To overwrite things set in config.site just add the variable in CONFIGURE_ENV within your port Please help us to add new values in this config.site --- Mk/bsd.port.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Mk') diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 41d42bf92280..3a01fa176819 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -2947,7 +2947,7 @@ CONFIGURE_MAX_CMD_LEN!= ${SYSCTL} -n kern.argmax .endif GNU_CONFIGURE_PREFIX?= ${PREFIX} CONFIGURE_ARGS+= --prefix=${GNU_CONFIGURE_PREFIX} $${_LATE_CONFIGURE_ARGS} -CONFIGURE_ENV+= lt_cv_sys_max_cmd_len=${CONFIGURE_MAX_CMD_LEN} +CONFIGURE_ENV+= CONFIG_SITE=${PORTSDIR}/Templates/config.site lt_cv_sys_max_cmd_len=${CONFIGURE_MAX_CMD_LEN} HAS_CONFIGURE= yes SET_LATE_CONFIGURE_ARGS= \ -- cgit