pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Add maximum command line length check, pointed out ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/11569f49f6e2
branches: trunk
changeset: 472923:11569f49f6e2
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Wed Apr 14 11:39:53 2004 +0000
description:
Add maximum command line length check, pointed out by jmmv@.
diffstat:
mk/defs.FreeBSD.mk | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r f71b78362f95 -r 11569f49f6e2 mk/defs.FreeBSD.mk
--- a/mk/defs.FreeBSD.mk Wed Apr 14 11:31:10 2004 +0000
+++ b/mk/defs.FreeBSD.mk Wed Apr 14 11:39:53 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: defs.FreeBSD.mk,v 1.35 2004/04/14 11:30:00 xtraeme Exp $
+# $NetBSD: defs.FreeBSD.mk,v 1.36 2004/04/14 11:39:53 xtraeme Exp $
#
# Variable definitions for the FreeBSD operating system.
@@ -166,3 +166,10 @@
.if exists(/usr/include/sys/event.h)
PKG_HAVE_KQUEUE= # defined
.endif
+
+# 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
+CONFIGURE_ENV+= lt_cv_sys_max_cmd_len=${_OPSYS_MAX_CMDLEN}
+.endif
Home |
Main Index |
Thread Index |
Old Index