From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jan 6 00:10:01 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88FA2106566C for ; Tue, 6 Jan 2009 00:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6434C8FC1E for ; Tue, 6 Jan 2009 00:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n060A1m2091828 for ; Tue, 6 Jan 2009 00:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n060A11D091827; Tue, 6 Jan 2009 00:10:01 GMT (envelope-from gnats) Resent-Date: Tue, 6 Jan 2009 00:10:01 GMT Resent-Message-Id: <200901060010.n060A11D091827@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Wes Morgan Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FB28106566C for ; Tue, 6 Jan 2009 00:07:15 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 543E68FC0C for ; Tue, 6 Jan 2009 00:07:15 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n0607EuO016958 for ; Tue, 6 Jan 2009 00:07:14 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n0607E5Q016957; Tue, 6 Jan 2009 00:07:14 GMT (envelope-from nobody) Message-Id: <200901060007.n0607E5Q016957@www.freebsd.org> Date: Tue, 6 Jan 2009 00:07:14 GMT From: Wes Morgan To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/130213: IPv6 support is not built even when chosen X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2009 00:10:02 -0000 >Number: 130213 >Category: ports >Synopsis: IPv6 support is not built even when chosen >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 06 00:10:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Wes Morgan >Release: 8.0-current >Organization: >Environment: FreeBSD volatile 8.0-CURRENT FreeBSD 8.0-CURRENT #6: Thu Jan 1 18:02:20 CST 2009 root@volatile:/usr/src/sys/amd64/compile/VOLATILE amd64 >Description: The patch-configure file only patches "configure.in", which does not regenerate the configure script and thus IPv6 support will not be enabled even though it is selected. >How-To-Repeat: make config, select enable IPV6, and it will not be defined in defs.h. >Fix: Replace patch-configure with the attached patch. Patch attached with submission follows: --- configure~ 2009-01-05 18:02:04.883269233 -0600 +++ configure 2009-01-05 18:02:04.886269145 -0600 @@ -11830,100 +11830,27 @@ echo $ECHO_N "checking whether to enable IPv6 support... $ECHO_C" >&6 # Check whether --enable-ipv6 or --disable-ipv6 was given. if test "${enable_ipv6+set}" = set; then - enableval="$enable_ipv6" - case "$enableval" in + enableval=$enable_ipv6; case "$enableval" in yes) - case "$(uname -s)" in - Linux) - if test -d "/usr/inet6/include"; then - CFLAGS="$CFLAGS -I/usr/inet6/include" - LIBS="-L/usr/inet6/lib -linet6 $LIBS" - echo "$as_me:$LINENO: result: yes (libinet6)" >&5 -echo "${ECHO_T}yes (libinet6)" >&6 + { $as_echo "$as_me:$LINENO: result: yes (notchecked)" >&5 +$as_echo "yes (notchecked)" >&6; } cat >>confdefs.h <<\_ACEOF #define IPV6 1 _ACEOF - else - if test -d "/usr/local/v6/lib"; then - LIBS="-L/usr/local/v6/lib -linet6 $LIBS" - echo "$as_me:$LINENO: result: yes (freebsd+kame)" >&5 -echo "${ECHO_T}yes (freebsd+kame)" >&6 - -cat >>confdefs.h <<\_ACEOF -#define IPV6 1 -_ACEOF - - else - if test "$cross_compiling" = yes; then - { echo "$as_me:$LINENO: WARNING: cross-compiling: assuming no ipv6" >&5 -echo "$as_me: WARNING: cross-compiling: assuming no ipv6" >&2;} + ;; + *) + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } + ;; + esac else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" - - int main() - { - #if !defined(__GLIBC__) || (__GLIBC__ < 2) - #define NO_GLIBC_2 1 - #endif - - if (NO_GLIBC_2) - exit(0); - else - exit(1); - } -_ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - echo "$as_me:$LINENO: result: yes (glibc2)" >&5 -echo "${ECHO_T}yes (glibc2)" >&6 + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } -cat >>confdefs.h <<\_ACEOF -#define IPV6 1 -_ACEOF - - -else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -( exit $ac_status ) -echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi - fi - fi - ;; - *) - echo "$as_me:$LINENO: result: no (ipv6 support can currently be enabled on Linux only)" >&5 -echo "${ECHO_T}no (ipv6 support can currently be enabled on Linux only)" >&6 - ;; - esac - ;; - no) - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 - ;; - esac -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi; echo "$as_me:$LINENO: checking whether to enable SOCKS support" >&5 echo $ECHO_N "checking whether to enable SOCKS support... $ECHO_C" >&6 >Release-Note: >Audit-Trail: >Unformatted: