summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2005-08-29 11:35:51 +0000
committerxtraeme <xtraeme>2005-08-29 11:35:51 +0000
commit89d56e7b69391975f77986e71e09c3b15ae70d14 (patch)
tree864cacf693b0e48990d9db1661a4ecbcf75228d4 /chat
parent07881f343fe3be07acdf1d8a90cff318234135b2 (diff)
downloadpkgsrc-89d56e7b69391975f77986e71e09c3b15ae70d14.tar.gz
Make gtk-spell configurable via bsd.options.mk (enabled by default
as before), patch from Geert Hendrickx via tech-pkg@.
Diffstat (limited to 'chat')
-rw-r--r--chat/gaim/Makefile3
-rw-r--r--chat/gaim/options.mk9
2 files changed, 9 insertions, 3 deletions
diff --git a/chat/gaim/Makefile b/chat/gaim/Makefile
index 2fa143badd6..3d441ea3ed4 100644
--- a/chat/gaim/Makefile
+++ b/chat/gaim/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.99 2005/08/26 02:01:20 grant Exp $
+# $NetBSD: Makefile,v 1.100 2005/08/29 11:35:51 xtraeme Exp $
DISTNAME= gaim-1.5.0
PKGREVISION= 1
@@ -45,7 +45,6 @@ CONFIGURE_ARGS+= --disable-screensaver
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/silc-toolkit/buildlink3.mk"
-.include "../../textproc/gtkspell/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/startup-notification/buildlink3.mk"
diff --git a/chat/gaim/options.mk b/chat/gaim/options.mk
index 22eca2afcf5..4681082350b 100644
--- a/chat/gaim/options.mk
+++ b/chat/gaim/options.mk
@@ -1,7 +1,8 @@
-# $NetBSD: options.mk,v 1.1 2005/08/19 10:24:25 grant Exp $
+# $NetBSD: options.mk,v 1.2 2005/08/29 11:35:51 xtraeme Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gaim
PKG_SUPPORTED_OPTIONS+= gnutls
+PKG_SUGGESTED_OPTIONS+= gtk-spell
.include "../../mk/bsd.options.mk"
@@ -20,3 +21,9 @@ CONFIGURE_ARGS+= --with-nss-libs=${BUILDLINK_PREFIX.nss}/lib/nss
. include "../../devel/nss/buildlink3.mk"
.endif
+
+.if !empty(PKG_OPTIONS:Mgtkspell)
+. include "../../textproc/gtkspell/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-gtkspell
+.endif