diff options
author | tv <tv@pkgsrc.org> | 2005-01-25 18:15:58 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2005-01-25 18:15:58 +0000 |
commit | 7eb18680ca74bd6ed2ca26333e93b3c5b0ee5e05 (patch) | |
tree | 84119074e1aef051f087b11349c786c47a9a6b27 /mk/platform/OpenBSD.mk | |
parent | 21b0f7d3d9aba3a571b2ac9489387f76e81cf904 (diff) | |
download | pkgsrc-7eb18680ca74bd6ed2ca26333e93b3c5b0ee5e05.tar.gz |
Relax need to put GNU_CONFIGURE before inclusion of bsd.prefs.mk:
Convert _OPSYS_MAX_CMDLEN to a plain _OPSYS_MAX_CMDLEN_CMD variable, which
is not evaluated by a shell until CONFIGURE_ENV is expanded (and only then
if USE_LIBTOOL+GNU_CONFIGURE are both set).
Diffstat (limited to 'mk/platform/OpenBSD.mk')
-rw-r--r-- | mk/platform/OpenBSD.mk | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mk/platform/OpenBSD.mk b/mk/platform/OpenBSD.mk index 0449a80adb9..0e406c959a8 100644 --- a/mk/platform/OpenBSD.mk +++ b/mk/platform/OpenBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: OpenBSD.mk,v 1.9 2004/12/27 08:38:09 jlam Exp $ +# $NetBSD: OpenBSD.mk,v 1.10 2005/01/25 18:15:58 tv Exp $ # # Variable definitions for the OpenBSD operating system. @@ -167,9 +167,7 @@ SERIAL_DEVICES?= /dev/null # check for maximum command line length and set it in configure's environment, # to avoid a test required by the libtool script that takes forever. -.if defined(GNU_CONFIGURE) && defined(USE_LIBTOOL) -_OPSYS_MAX_CMDLEN!= /sbin/sysctl -n kern.argmax -.endif +_OPSYS_MAX_CMDLEN_CMD= /sbin/sysctl -n kern.argmax # If games are to be installed setgid, then SETGIDGAME is set to 'yes' # (it defaults to 'no' as per bsd.pkg.defaults.mk). |