NetBSD Problem Report #27691
From www@www.netbsd.org Sat Oct 30 09:14:57 2004
Return-Path: <www@www.netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
id 05EC025265F; Sat, 30 Oct 2004 09:14:57 +0000 (UTC)
Message-Id: <20041030091457.05EC025265F@narn.netbsd.org>
Date: Sat, 30 Oct 2004 09:14:57 +0000 (UTC)
From: georg.schwarz@freenet.de
Reply-To: georg.schwarz@freenet.de
To: gnats-bugs@gnats.NetBSD.org
Subject: chat/bitlbee always asumes IPV6 is used
X-Send-Pr-Version: www-1.0
>Number: 27691
>Category: pkg
>Synopsis: chat/bitlbee always asumes IPV6 is used
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Oct 30 09:15:00 +0000 2004
>Closed-Date: Mon Dec 27 23:36:42 +0000 2004
>Last-Modified: Mon Dec 27 23:36:42 +0000 2004
>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:
From: "Julio M. Merino Vidal" <jmmv@menta.net>
To: georg.schwarz@freenet.de
Cc: gnats-bugs@gnats.NetBSD.org
Subject: Re: pkg/27691: chat/bitlbee always asumes IPV6 is used
Date: Sat, 30 Oct 2004 15:11:10 +0200
On Sat, 30 Oct 2004 09:14:57 +0000 (UTC)
georg.schwarz@freenet.de wrote:
> >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.
Yes but you should use CPPFLAGS (-D and -I belong there). And to handle ipv6
support, you should use the bsd.options.mk framework (see other packages for
examples).
--
Julio M. Merino Vidal <jmmv@menta.net>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/
From: Juan Romero Pardines <xtraeme@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/27691 CVS commit: pkgsrc/chat/bitlbee
Date: Mon, 27 Dec 2004 23:35:41 +0000 (UTC)
Module Name: pkgsrc
Committed By: xtraeme
Date: Mon Dec 27 23:35:41 UTC 2004
Modified Files:
pkgsrc/chat/bitlbee: Makefile distinfo
Added Files:
pkgsrc/chat/bitlbee/patches: patch-aa
Log Message:
Add an option for the configure script to enable/disable IPv6 support
(by default disabled in configure, but enabled via bsd.options.mk),
you can enable/disable it via "PKG_OPTIONS.bitlbee=-inet6", this closes
PR pkg/27691 by Georg Schwarz.
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 pkgsrc/chat/bitlbee/Makefile
cvs rdiff -r1.7 -r1.8 pkgsrc/chat/bitlbee/distinfo
cvs rdiff -r0 -r1.3 pkgsrc/chat/bitlbee/patches/patch-aa
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: xtraeme@netbsd.org
State-Changed-When: Mon, 27 Dec 2004 23:36:42 +0000
State-Changed-Why:
This should be fixed in 0.91nb1, thanks for the PR!
>Unformatted:
>Quarter:
>Keywords:
>Date-Required:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.