Subject: pkg/21392: chat/gaim needs gtkspell knob
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tv@pobox.com>
List: netbsd-bugs
Date: 04/29/2003 12:25:20
>Number:         21392
>Category:       pkg
>Synopsis:       chat/gaim needs gtkspell knob
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 29 16:28:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Todd Vierling
>Release:        NetBSD 1.6.1
>Organization:
	DUH.ORG:  Pointing out the obvious since 1994.
>Environment:
>Description:

chat/gaim includes textproc/gtkspell, which includes textproc/aspell,
which (on NetBSD 1.6.1 or earlier) includes devel/ncurses.  This is a
twisty maze of packages just for a rather minor spell-check feature.

>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /pub/NetBSD-CVS/pkgsrc/chat/gaim/Makefile,v
retrieving revision 1.29
diff -u -r1.29 Makefile
--- Makefile	2003/04/25 17:16:52	1.29
+++ Makefile	2003/04/29 16:22:30
@@ -31,11 +31,16 @@
 CONFIGURE_ARGS+=	--disable-screensaver
 .endif
 
+.if !empty(GAIM_USE_GTKSPELL:M[Nn][Oo])
+CONFIGURE_ARGS+=	--disable-gtkspell
+.else
+.include "../../textproc/gtkspell/buildlink2.mk"
+.endif
+
 .include "../../audio/libao/buildlink2.mk"
 .include "../../audio/libaudiofile/buildlink2.mk"
 .include "../../converters/libiconv/buildlink2.mk"
 .include "../../devel/pkgconfig/buildlink2.mk"
 .include "../../lang/perl5/buildlink2.mk"
-.include "../../textproc/gtkspell/buildlink2.mk"
 .include "../../x11/gtk2/buildlink2.mk"
 .include "../../mk/bsd.pkg.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: