From 4fcbb452e88fb76313e7181a882e64b66b172502 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Thu, 15 Mar 2018 02:36:47 +0000 Subject: [PATCH] Define CONFIG_SITE even without GNU_CONFIGURE as some ports still benefit from it. Approved by: portmgr (implicit) --- Mk/bsd.port.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index a351a60b9934..70ce01a87f8a 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -2640,6 +2640,7 @@ CONFIGURE_LOG?= config.log # A default message to print if do-configure fails. CONFIGURE_FAIL_MESSAGE?= "Please report the problem to ${MAINTAINER} [maintainer] and attach the \"${CONFIGURE_WRKSRC}/${CONFIGURE_LOG}\" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a ${PKG_INFO} -Ea)." +CONFIG_SITE?= ${PORTSDIR}/Templates/config.site .if defined(GNU_CONFIGURE) # Maximum command line length .if !defined(CONFIGURE_MAX_CMD_LEN) @@ -2648,7 +2649,6 @@ CONFIGURE_MAX_CMD_LEN!= ${SYSCTL} -n kern.argmax _EXPORTED_VARS+= CONFIGURE_MAX_CMD_LEN GNU_CONFIGURE_PREFIX?= ${PREFIX} GNU_CONFIGURE_MANPREFIX?= ${MANPREFIX} -CONFIG_SITE?= ${PORTSDIR}/Templates/config.site CONFIGURE_ARGS+= --prefix=${GNU_CONFIGURE_PREFIX} $${_LATE_CONFIGURE_ARGS} .if defined(CROSS_TOOLCHAIN) CROSS_HOST= ${CROSS_TOOLCHAIN:C,-.*$,,}-unknown-${OPSYS:tl}${OSREL}