Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  2 Jan 2000 03:00:16 +0000 (GMT)
From:      Anthony Kimball <alk@pobox.com>
To:        ports@freebsd.org
Subject:   rat-4.0.4
Message-ID:  <14446.48829.6896.689415@avalon.east>

next in thread | raw e-mail | index | archive | help

In order to make this work under -current, I have to undefine
HAVE_IPv6 (my rash assumption is that this is because our IPv6
doesn not yet have multicast support):

diff -u work/rat-4.0.4/common/configure.~1~ work/rat-4.0.4/common/configure
--- work/rat-4.0.4/common/configure.~1~	Wed Jul  7 16:17:32 1999
+++ work/rat-4.0.4/common/configure	Sun Jan  2 02:56:32 2000
@@ -33,6 +33,7 @@
 
 VERSION=`cat VERSION`
 
+suppress_ipv6=false
 OSTYPE=`uname -s`
 case $OSTYPE in
   SunOS                  ) OSTYPE=`uname -s`_`uname -r | awk -F. '{print $1}'`
@@ -44,7 +45,10 @@
                            ;;
   HP-UX                  ) OSTYPE=HPUX
                            ;;
-  Linux | IRIX | IRIX64 | FreeBSD | NetBSD ) 
+  Linux | IRIX | IRIX64 | NetBSD ) 
+			   ;;
+  FreeBSD )
+			   suppress_ipv6=true
                            ;;
   *                      ) echo "$OSTYPE not supported. Sorry."
                            exit
@@ -204,6 +208,9 @@
 T1=`grep -c getipnodebyname /usr/include/netdb.h`
 if [ $T1 = 0 ]; then
 	${ECHO} "no"
+elif $suppress_ipv6; then
+        DEFS="$DEFS -UHAVE_IPv6"
+        ${ECHO} "suppressed"
 else 
 	DEFS="$DEFS -DHAVE_IPv6"
 	${ECHO} "yes"


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14446.48829.6896.689415>