summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-06-23 17:05:41 +0000
committerjperkin <jperkin@pkgsrc.org>2013-06-23 17:05:41 +0000
commite1394f9ad409c02e42bdfc3c8e9ec6cda9e45c6c (patch)
tree2da3305b70fa055ed54a0d970192fbca4c228f91 /sysutils
parent1c18a4de6d70a82d2cc0c2d32f90fe867af67acc (diff)
downloadpkgsrc-e1394f9ad409c02e42bdfc3c8e9ec6cda9e45c6c.tar.gz
SunOS does not have libutil, do not pull it in unconditionally.
Fixes SunOS build.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gnome-system-monitor/Makefile8
1 files changed, 7 insertions, 1 deletions
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"