summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg>2007-06-15 17:50:48 +0000
committerjoerg <joerg>2007-06-15 17:50:48 +0000
commite62a8b819c18b9bdf6b7c2ee037f28b35cd35b7b (patch)
treeee44205ae6c37b6e9d3b3316a03e530de7f01ebd /net
parent22cab9ebf5f719f400c0196b929f611bd4ca6216 (diff)
downloadpkgsrc-e62a8b819c18b9bdf6b7c2ee037f28b35cd35b7b.tar.gz
Fix XScrnSaver for !native.
Diffstat (limited to 'net')
-rw-r--r--net/kdenetwork3/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/kdenetwork3/Makefile b/net/kdenetwork3/Makefile
index fcb541cd1b8..a62f7650cc3 100644
--- a/net/kdenetwork3/Makefile
+++ b/net/kdenetwork3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2007/01/29 09:11:06 abs Exp $
+# $NetBSD: Makefile,v 1.61 2007/06/15 17:50:48 joerg Exp $
DISTNAME= kdenetwork-${_KDE_VERSION}
CATEGORIES= net
@@ -35,7 +35,9 @@ CONFIGURE_ENV+= ac_cv_header_net_if_ppp_h=yes
CONFIGURE_ENV+= ac_cv_sys_file_offset_bits=no
.endif
-.if !exists(${X11BASE}/lib/libXss.so)
+.if ${X11_TYPE} != "native"
+.include "../../x11/libXScrnSaver/buildlink3.mk"
+.elif !exists(${X11BASE}/lib/libXss.so)
CONFIGURE_ENV+= ac_cv_lib_Xss_XScreenSaverQueryInfo="no"
.endif