NetBSD Problem Report #37153

From yx@fxp0-660.lrou.x.ua  Fri Oct 19 09:53:24 2007
Return-Path: <yx@fxp0-660.lrou.x.ua>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 5A65D63B9C2
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 19 Oct 2007 09:53:24 +0000 (UTC)
Message-Id: <200710190853.l9J8rT9P010900@fxp0-660.lrou.x.ua>
Date: Fri, 19 Oct 2007 11:53:29 +0300 (EEST)
From: Yakovetsky Vladimir <yx@x.ua>
Reply-To: yx@x.ua
To: joerg@NetBSD.org, gnats-bugs@NetBSD.org
Subject: x11/libFS compiles with ipv6 despite -inet6 option
X-Send-Pr-Version: 3.95

>Number:         37153
>Category:       pkg
>Synopsis:       x11/libFS compiles with ipv6 despite -inet6 option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    joerg
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 19 09:55:01 +0000 2007
>Closed-Date:    Mon Sep 17 11:53:59 +0000 2018
>Last-Modified:  Mon Sep 17 11:53:59 +0000 2018
>Originator:     Yakovetsky Vladimir
>Release:        NetBSD 4.99.31
>Organization:
>Environment:
System: NetBSD lrou.x.ua 4.99.31 NetBSD 4.99.31 (lrou_odd-1.852) #0: Sun Sep 30 18:16:16 EEST 2007 yx@lrou.x.ua:/sys/arch/i386/compile/lrou_odd i386
Architecture: i386
Machine: i386

>Description:
	x11/libFS compiles with ipv6 despite -inet6 option

>How-To-Repeat:
% grep -i inet6 /etc/mk.conf
MKINET6=		no
PKG_DEFAULT_OPTIONS+=	-inet6

% cd /usr/pkgsrc/x11/libFS && make
...
checking if IPv6 support should be built... yes
...


>Fix:
:r x11/libFS/options.mk

PKG_OPTIONS_VAR=	PKG_OPTIONS.libFS
PKG_SUPPORTED_OPTIONS+=	inet6

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+=	--enable-ipv6
.else
CONFIGURE_ARGS+=	--disable-ipv6
.endif


--- x11/libFS/Makefile.orig
+++ x11/libFS/Makefile
@@ -25,6 +25,8 @@
 CONFIGURE_ARGS+=	--disable-malloc0returnsnull
 .endif

+.include "options.mk"
+
 .include "../../x11/fontsproto/buildlink3.mk"
 .include "../../x11/xproto/buildlink3.mk"
 .include "../../x11/xtrans/buildlink3.mk"

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->joerg
Responsible-Changed-By: obache@netbsd.org
Responsible-Changed-When: Fri, 19 Oct 2007 11:04:39 +0000
Responsible-Changed-Why:
Over to maintainer.


State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Mon, 17 Sep 2018 11:53:59 +0000
State-Changed-Why:
Closing all X11 inet6 bugs as wontfix - this might've been of marginal utility when the bug was made, but it seems increasingly silly as time goes on.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.