diff options
author | tv <tv> | 2005-01-25 18:15:58 +0000 |
---|---|---|
committer | tv <tv> | 2005-01-25 18:15:58 +0000 |
commit | a8d1a712957e6851da50ba6591c617c8f7686900 (patch) | |
tree | 84119074e1aef051f087b11349c786c47a9a6b27 /mk/platform/Linux.mk | |
parent | b008fcedde73a03bd214f72e829325462a49bfab (diff) | |
download | pkgsrc-a8d1a712957e6851da50ba6591c617c8f7686900.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/Linux.mk')
-rw-r--r-- | mk/platform/Linux.mk | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mk/platform/Linux.mk b/mk/platform/Linux.mk index 383fe6bdc2c..4593f0949dd 100644 --- a/mk/platform/Linux.mk +++ b/mk/platform/Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: Linux.mk,v 1.6 2004/12/29 23:19:43 minskim Exp $ +# $NetBSD: Linux.mk,v 1.7 2005/01/25 18:15:58 tv Exp $ # # Variable definitions for the Linux operating system. @@ -195,9 +195,7 @@ LOCALBASE?= ${DESTDIR}/usr/pkg # 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. # FIXME: Adjust to work on this system and enable the lines below. -#.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). |