NetBSD Problem Report #37151

From yx@fxp0-660.lrou.x.ua  Fri Oct 19 09:53:16 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 9739563B8FE
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 19 Oct 2007 09:53:16 +0000 (UTC)
Message-Id: <200710190853.l9J8r6sa022366@fxp0-660.lrou.x.ua>
Date: Fri, 19 Oct 2007 11:53:06 +0300 (EEST)
From: Yakovetsky Vladimir <yx@x.ua>
Reply-To: yx@x.ua
To: joerg@NetBSD.org, gnats-bugs@NetBSD.org
Subject: x11/xauth compiles with ipv6 despite -inet6 option
X-Send-Pr-Version: 3.95

>Number:         37151
>Category:       pkg
>Synopsis:       x11/xauth compiles with ipv6 despite -inet6 option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    joerg
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 19 09:55:00 +0000 2007
>Last-Modified:  Fri Oct 19 11:03:55 +0000 2007
>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/xauth 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/xauth && make
...
checking if IPv6 support should be built... yes
...


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

PKG_OPTIONS_VAR=	PKG_OPTIONS.xauth
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/xauth/Makefile.orig
+++ x11/xauth/Makefile
@@ -15,6 +15,8 @@
 GNU_CONFIGURE=		yes
 USE_TOOLS+=		pkg-config

+.include "options.mk"
+
 .include "../../x11/libXext/buildlink3.mk"
 .include "../../x11/libXmu/buildlink3.mk"
 .include "../../x11/xextproto/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:03:55 +0000
Responsible-Changed-Why:
Over to maintainer.


>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.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.