summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrichard <richard@pkgsrc.org>2016-09-16 11:01:21 +0000
committerrichard <richard@pkgsrc.org>2016-09-16 11:01:21 +0000
commit4eebe8e8a3f75a3ef3001724f61d442968936106 (patch)
treefdd28c3eef5fbddcc5eea9dd75a1bd31ffe11bfd
parent52b614dc5c3dc0e16e19669e47ea2cdb7c0b2d42 (diff)
downloadpkgsrc-4eebe8e8a3f75a3ef3001724f61d442968936106.tar.gz
Linux doesn't necessarily provide libkvm
-rw-r--r--sysutils/xfce4-taskmanager/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysutils/xfce4-taskmanager/Makefile b/sysutils/xfce4-taskmanager/Makefile
index bc183a48463..5ea9d59ed52 100644
--- a/sysutils/xfce4-taskmanager/Makefile
+++ b/sysutils/xfce4-taskmanager/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2016/08/03 10:23:26 adam Exp $
+# $NetBSD: Makefile,v 1.4 2016/09/16 11:01:21 richard Exp $
PKGREVISION= 2
.include "../../meta-pkgs/xfce4/Makefile.common"
@@ -13,7 +13,10 @@ COMMENT= Xfce task manager
MASTER_SITES= http://archive.xfce.org/src/apps/xfce4-taskmanager/1.1/
# patch needs libkvm.
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} != "Linux"
LDFLAGS+= -lkvm
+.endif
.include "../../x11/libxfce4ui/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"