From e1394f9ad409c02e42bdfc3c8e9ec6cda9e45c6c Mon Sep 17 00:00:00 2001 From: jperkin Date: Sun, 23 Jun 2013 17:05:41 +0000 Subject: SunOS does not have libutil, do not pull it in unconditionally. Fixes SunOS build. --- sysutils/gnome-system-monitor/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'sysutils') diff --git a/sysutils/gnome-system-monitor/Makefile b/sysutils/gnome-system-monitor/Makefile index 9bf8228de96..6fddd646c47 100644 --- a/sysutils/gnome-system-monitor/Makefile +++ b/sysutils/gnome-system-monitor/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.39 2013/06/06 12:55:04 wiz Exp $ +# $NetBSD: Makefile,v 1.40 2013/06/23 17:05:41 jperkin Exp $ # DISTNAME= gnome-system-monitor-2.28.2 @@ -19,7 +19,13 @@ USE_LANGUAGES= c c++ CONFLICTS+= gnome2-system-monitor-[0-9]* +.include "../../mk/bsd.prefs.mk" + +# XXX: bound this check better +.if ${OPSYS} != "SunOS" LIBS+= -lutil +.endif + GCONF_SCHEMAS+= gnome-system-monitor.schemas .include "../../devel/GConf/schemas.mk" -- cgit v1.2.3