Subject: pkg/27691: chat/bitlbee always asumes IPV6 is used
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <georg.schwarz@freenet.de>
List: pkgsrc-bugs
Date: 10/30/2004 09:14:57
>Number:         27691
>Category:       pkg
>Synopsis:       chat/bitlbee always asumes IPV6 is used
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 30 09:15:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Georg Schwarz
>Release:        current pkgsrc
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
chat/bitlbee always asumes IPV6 is used by unconditionally defining IPV6 in configure.
>How-To-Repeat:

>Fix:
Patch configure:
/*#define IPV6*/

Use something like this in the Makefile:

.if defined(USE_INET6) && ${USE_INET6} == "YES"
CFLAGS+=                -DIPV6
.endif
BUILD_DEFS+=            USE_INET6

I'm not sure if CFLAGS from pkgsrc is actually arried through to the build process. 
>Release-Note:
>Audit-Trail:
>Unformatted: