Subject: pkg/24009: Cannot disable IPv6 in mail/sylpheed
To: None <gnats-bugs@gnats.NetBSD.org>
From: Min Sik Kim <minskim@bawi.org>
List: netbsd-bugs
Date: 01/06/2004 19:31:24
>Number:         24009
>Category:       pkg
>Synopsis:       Cannot disable IPv6 in mail/sylpheed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 07 01:32:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Min Sik Kim
>Release:        NetBSD 1.6ZG
>Organization:
>Environment:
>Description:
Sylpheed changed default behavior of its IPv6 support, so it should be
disabled explicitly.  Because this change was introduced in 0.9.8,
neither sylpheed-claw (0.9.7) nor sylpheed-gtk2 (0.9.5) is affected
yet, but it would be better to patch them now.

>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/mail/sylpheed/Makefile,v
retrieving revision 1.56
diff -u -r1.56 Makefile
--- Makefile	2004/01/03 18:49:45	1.56
+++ Makefile	2004/01/07 01:22:11
@@ -33,8 +33,10 @@
 .include "../../mk/bsd.prefs.mk"
 BUILD_DEFS+=		USE_INET6 USE_OPENLDAP USE_JPILOT
 
-.if defined(USE_INET6) && ${USE_INET6} == YES
+.if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss])
 CONFIGURE_ARGS+=	--enable-ipv6
+.else
+CONFIGURE_ARGS+=	--disable-ipv6
 .endif
 
 FACES_IS_INSTALLED!=	${PKG_INFO} -e faces || ${ECHO}
>Release-Note:
>Audit-Trail:
>Unformatted:
 Environment:
 System: NetBSD sulley.infnis.com 1.6ZG NetBSD 1.6ZG (SULLEY) #1: Tue Dec 16 01:53:13 CST 2003 root@sulley.infnis.com:/usr/obj/sys/arch/i386/compile/SULLEY i386
 Architecture: i386
 Machine: i386