summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjschauma <jschauma>2004-04-21 16:30:19 +0000
committerjschauma <jschauma>2004-04-21 16:30:19 +0000
commit57fe24e18cacf048a8466a1467ebd1f3e64f20ac (patch)
tree67fd889fc58b932470fcc6f3232567af766926cd /mk
parent4f94dfc734bc13f1043d50b953126c9d671744fe (diff)
downloadpkgsrc-57fe24e18cacf048a8466a1467ebd1f3e64f20ac.tar.gz
under Irix, use sysconf to get ARG_MAX. Default on current IRIX
systems is 20480.
Diffstat (limited to 'mk')
-rw-r--r--mk/defs.IRIX.mk11
1 files changed, 5 insertions, 6 deletions
diff --git a/mk/defs.IRIX.mk b/mk/defs.IRIX.mk
index 992558b0dec..73a268096de 100644
--- a/mk/defs.IRIX.mk
+++ b/mk/defs.IRIX.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.IRIX.mk,v 1.47 2004/04/19 20:19:46 jmmv Exp $
+# $NetBSD: defs.IRIX.mk,v 1.48 2004/04/21 16:30:19 jschauma Exp $
#
# Variable definitions for the IRIX operating system.
@@ -168,8 +168,7 @@ MAKE_ENV+= ABI=${ABI}
# 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
-#CONFIGURE_ENV+= lt_cv_sys_max_cmd_len=${_OPSYS_MAX_CMDLEN}
-#.endif
+.if defined(GNU_CONFIGURE) && defined(USE_LIBTOOL)
+_OPSYS_MAX_CMDLEN!= /usr/sbin/sysconf ARG_MAX
+CONFIGURE_ENV+= lt_cv_sys_max_cmd_len=${_OPSYS_MAX_CMDLEN}
+.endif