pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Enable _OPSYS_MAX_CMDLEN test.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/13a6317e88b6
branches:  trunk
changeset: 478314:13a6317e88b6
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Wed Jul 21 21:50:41 2004 +0000

description:
Enable _OPSYS_MAX_CMDLEN test.

diffstat:

 mk/defs.OpenBSD.mk |  11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diffs (25 lines):

diff -r 828f3a7819d1 -r 13a6317e88b6 mk/defs.OpenBSD.mk
--- a/mk/defs.OpenBSD.mk        Wed Jul 21 21:50:20 2004 +0000
+++ b/mk/defs.OpenBSD.mk        Wed Jul 21 21:50:41 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: defs.OpenBSD.mk,v 1.35 2004/06/18 11:22:41 kristerw Exp $
+# $NetBSD: defs.OpenBSD.mk,v 1.36 2004/07/21 21:50:41 xtraeme Exp $
 #
 # Variable definitions for the OpenBSD operating system.
 
@@ -174,11 +174,10 @@
 
 # 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!=    /sbin/sysctl -n kern.argmax
+CONFIGURE_ENV+=                lt_cv_sys_max_cmd_len=${_OPSYS_MAX_CMDLEN}
+.endif
 
 # If games are to be installed setgid, then SETGIDGAME is set to 'yes'
 # (it defaults to 'no' as per bsd.pkg.defaults.mk).



Home | Main Index | Thread Index | Old Index