summaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-01-20 22:26:36 +0000
committermarcus <marcus@FreeBSD.org>2004-01-20 22:26:36 +0000
commit0c6dbd8e7b00e0d9727e466fc9a36eab65d6f14d (patch)
treee04a2a188e521c16d04bc462e52525de47f65d09 /Mk
parent3a18a5653e127cda96e7cef324d784fe817b9b9d (diff)
downloadFreeBSD-ports-0c6dbd8e7b00e0d9727e466fc9a36eab65d6f14d.zip
FreeBSD-ports-0c6dbd8e7b00e0d9727e466fc9a36eab65d6f14d.tar.gz
Conditionalize the max command length on whether or not GNU_CONFIGURE is
defined.
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 40c2e89..8c247a1 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -2555,6 +2555,8 @@ 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. an \`ls ${PKG_DBDIR}\`)."
+
+.if defined(GNU_CONFIGURE)
# Maximum command line length
.if !defined(CONFIGURE_MAX_CMD_LEN)
.if exists(/sbin/sysctl)
@@ -2563,8 +2565,6 @@ CONFIGURE_MAX_CMD_LEN!= /sbin/sysctl -n kern.argmax
CONFIGURE_MAX_CMD_LEN!= /usr/sbin/sysctl -n kern.argmax
.endif
.endif
-
-.if defined(GNU_CONFIGURE)
CONFIGURE_ARGS+= --prefix=${PREFIX} ${CONFIGURE_TARGET}
CONFIGURE_ENV+= lt_cv_sys_max_cmd_len=${CONFIGURE_MAX_CMD_LEN}
HAS_CONFIGURE= yes
OpenPOWER on IntegriCloud