pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/kopete If libXss exists, use it.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d203aeb1571b
branches:  trunk
changeset: 462634:d203aeb1571b
user:      mycroft <mycroft%pkgsrc.org@localhost>
date:      Mon Oct 06 18:37:34 2003 +0000

description:
If libXss exists, use it.

diffstat:

 chat/kopete/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 31cc2f5546c6 -r d203aeb1571b chat/kopete/Makefile
--- a/chat/kopete/Makefile      Mon Oct 06 16:48:04 2003 +0000
+++ b/chat/kopete/Makefile      Mon Oct 06 18:37:34 2003 +0000
@@ -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 @@
 
 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"



Home | Main Index | Thread Index | Old Index