Thu Jun 13 11:25:18 2013 UTC ()
We need to say we have getloadavg(3) otherwise it wants to open /dev/kmem
and it does not work since we don't install setgid kmem.


(christos)
diff -r1.4 -r1.5 src/external/mit/xorg/bin/xload/Makefile

cvs diff -r1.4 -r1.5 src/external/mit/xorg/bin/xload/Makefile (expand / switch to context diff)
--- src/external/mit/xorg/bin/xload/Makefile 2013/05/31 08:01:59 1.4
+++ src/external/mit/xorg/bin/xload/Makefile 2013/06/13 11:25:18 1.5
@@ -1,11 +1,11 @@
-#	$NetBSD: Makefile,v 1.4 2013/05/31 08:01:59 mrg Exp $
+#	$NetBSD: Makefile,v 1.5 2013/06/13 11:25:18 christos Exp $
 
 .include <bsd.own.mk>
 
 PROG=	xload
 SRCS=	xload.c get_load.c get_rload.c
 
-CPPFLAGS+=${X11FLAGS.VERSION}
+CPPFLAGS+=${X11FLAGS.VERSION} -DHAVE_GETLOADAVG
 
 APPDEFS=XLoad