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
commitb88d6b1583d7ea36b9e276a94e72c865d2c6ed48 (patch)
tree607a870d607d7a6305647d51fd427dca8372c6d4 /chat
parente39a8be1fb3ed8f42c87729da2ba562c8fe8a971 (diff)
downloadpkgsrc-b88d6b1583d7ea36b9e276a94e72c865d2c6ed48.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"