summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authormycroft <mycroft>2003-10-06 18:37:34 +0000
committermycroft <mycroft>2003-10-06 18:37:34 +0000
commit0942f4e0501b98eb42895df7da28388939d7c134 (patch)
tree607a870d607d7a6305647d51fd427dca8372c6d4 /chat
parente9476f63231f02f42cff7c3d7952ecad0af545e3 (diff)
downloadpkgsrc-0942f4e0501b98eb42895df7da28388939d7c134.tar.gz
If libXss exists, use it.
Diffstat (limited to 'chat')
-rw-r--r--chat/kopete/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/chat/kopete/Makefile b/chat/kopete/Makefile
index b218b55d76f..26784211f58 100644
--- a/chat/kopete/Makefile
+++ b/chat/kopete/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2003/09/17 12:02:44 jmmv Exp $
+# $NetBSD: Makefile,v 1.6 2003/10/06 18:37:34 mycroft Exp $
#
DISTNAME= kopete-0.7.2
@@ -22,7 +22,12 @@ LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
CONFIGURE_ARGS+= --with-tags=CXX
CONFIGURE_ENV+= ac_cv_have_libpsi="no"
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !exists(${X11BASE}/lib/libXss.so)
CONFIGURE_ENV+= ac_cv_lib_Xss_XScreenSaverQueryInfo="no"
+.endif
.include "../../audio/arts/buildlink2.mk"
.include "../../devel/zlib/buildlink2.mk"