diff options
author | marcus <marcus@FreeBSD.org> | 2004-01-21 06:26:36 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-01-21 06:26:36 +0800 |
commit | 0c6dbd8e7b00e0d9727e466fc9a36eab65d6f14d (patch) | |
tree | e04a2a188e521c16d04bc462e52525de47f65d09 | |
parent | 3a18a5653e127cda96e7cef324d784fe817b9b9d (diff) | |
download | freebsd-ports-gnome-0c6dbd8e7b00e0d9727e466fc9a36eab65d6f14d.tar.gz freebsd-ports-gnome-0c6dbd8e7b00e0d9727e466fc9a36eab65d6f14d.tar.zst freebsd-ports-gnome-0c6dbd8e7b00e0d9727e466fc9a36eab65d6f14d.zip |
Conditionalize the max command length on whether or not GNU_CONFIGURE is
defined.
-rw-r--r-- | Mk/bsd.port.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 40c2e89b9743..8c247a187db7 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 |