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 unified 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,20 +1,20 @@ @@ -1,20 +1,20 @@
1# $NetBSD: Makefile,v 1.4 2013/05/31 08:01:59 mrg Exp $ 1# $NetBSD: Makefile,v 1.5 2013/06/13 11:25:18 christos Exp $
2 2
3.include <bsd.own.mk> 3.include <bsd.own.mk>
4 4
5PROG= xload 5PROG= xload
6SRCS= xload.c get_load.c get_rload.c 6SRCS= xload.c get_load.c get_rload.c
7 7
8CPPFLAGS+=${X11FLAGS.VERSION} 8CPPFLAGS+=${X11FLAGS.VERSION} -DHAVE_GETLOADAVG
9 9
10APPDEFS=XLoad 10APPDEFS=XLoad
11 11
12LDADD+= -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 12LDADD+= -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11
13DPADD+= ${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \ 13DPADD+= ${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \
14 ${LIBXPM} ${LIBXEXT} ${LIBX11} 14 ${LIBXPM} ${LIBXEXT} ${LIBX11}
15 15
16.PATH: ${X11SRCDIR.${PROG}} ${X11SRCDIR.${PROG}}/app-defaults 16.PATH: ${X11SRCDIR.${PROG}} ${X11SRCDIR.${PROG}}/app-defaults
17.PATH: ${X11SRCDIR.${PROG}}/man 17.PATH: ${X11SRCDIR.${PROG}}/man
18 18
19.include <bsd.x11.mk> 19.include <bsd.x11.mk>
20.include <bsd.prog.mk> 20.include <bsd.prog.mk>