summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-01-10 13:32:05 +0000
committerjmmv <jmmv@pkgsrc.org>2003-01-10 13:32:05 +0000
commit9385296e6564d68bcc7450503b1a3519506c6c8a (patch)
tree43f10838ad4dee79ef16bbf4b3724b5fb2832384 /chat
parent62333d8abc994be25096e3bd9c5e2d575419ccf1 (diff)
downloadpkgsrc-9385296e6564d68bcc7450503b1a3519506c6c8a.tar.gz
Enable "X Use Idle Times" if the XScreenSaver extension is provided by the
actual X11R6 installation. Bump PKGREVISION to 1. This fixes the request in PR pkg/19077 by John Franklin.
Diffstat (limited to 'chat')
-rw-r--r--chat/gaim/Makefile.common10
1 files changed, 8 insertions, 2 deletions
diff --git a/chat/gaim/Makefile.common b/chat/gaim/Makefile.common
index f45e1ae2eaf..365fd5866a4 100644
--- a/chat/gaim/Makefile.common
+++ b/chat/gaim/Makefile.common
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile.common,v 1.9 2003/01/09 16:15:08 mycroft Exp $
+# $NetBSD: Makefile.common,v 1.10 2003/01/10 13:32:05 jmmv Exp $
#
DISTNAME= gaim-0.59.8
+PKGREVISION= 1
CATEGORIES= chat x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gaim/} \
ftp://ftp.marko.net/pub/gaim/
@@ -27,13 +28,18 @@ GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --disable-artsc
CONFIGURE_ARGS+= --disable-nas
CONFIGURE_ARGS+= --disable-perl
-CONFIGURE_ARGS+= --disable-screensaver
CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.libiconv}
CONFIGURE_ARGS+= --enable-esd
CONFIGURE_ARGS+= --enable-perl
CONFIGURE_ARGS+= --enable-pixbuf
+.include "../../mk/bsd.prefs.mk"
+
+.if !exists(${X11BASE}/include/X11/extensions/scrnsaver.h)
+CONFIGURE_ARGS+= --disable-screensaver
+.endif
+
# Newer versions of gaim use gettext checks that gettext-lib/buildlink2.mk
# can't currently handle.
#