summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsbd <sbd>2012-05-14 07:03:08 +0000
committersbd <sbd>2012-05-14 07:03:08 +0000
commita48a72e47daec8b04268ccfb1b88bf88b2c3f776 (patch)
treee4012c72da5772e4bb628c45d0a6588598cffd30
parent8dccbcfd052e72f15fd34a555d96888d6423bd0b (diff)
downloadpkgsrc-a48a72e47daec8b04268ccfb1b88bf88b2c3f776.tar.gz
Not all Linux systems have/use utempter.
-rw-r--r--x11/kde-workspace4/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/kde-workspace4/Makefile b/x11/kde-workspace4/Makefile
index d4db3169060..3d97d926e39 100644
--- a/x11/kde-workspace4/Makefile
+++ b/x11/kde-workspace4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2012/04/08 19:09:17 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2012/05/14 07:03:08 sbd Exp $
DISTNAME= kde-workspace-${_KDE_VERSION}
PKGNAME= ${DISTNAME:S/-4/4-4/}
@@ -56,7 +56,7 @@ PY_PATCHPLIST= yes
.include "options.mk"
PLIST_VARS+= utempter noutempter
-.if ${OPSYS} == "Linux"
+.if ${OPSYS} == "Linux" && exists(/usr/include/utempter.h)
PLIST.utempter= yes
.else
PLIST.noutempter= yes