pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/34866: net/bind9
The following reply was made to PR pkg/34866; it has been noted by GNATS.
From: Gilles Dauphin <Gilles.Dauphin%enst.fr@localhost>
To: pkg-manager%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost,
gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/34866: net/bind9
Date: Fri, 20 Oct 2006 12:44:11 +0200 (CEST)
> To: pkg-manager%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost,
> pkgsrc-bugs%NetBSD.org@localhost
> Subject: pkg/34866: net/bind9
> >Fix:
>
>
> Two problems one in compiling for x86_64 one in installing:
> ------------------compiling-----------------------------------------
> --- lib/bind/include/arpa/nameser_compat.h.orig Thu Jul 1 06:43:41 2004
> +++ lib/bind/include/arpa/nameser_compat.h Wed Aug 30 16:25:11 2006
> @@ -53,7 +53,7 @@
>
> #if defined(vax) || defined(ns32000) || defined(sun386) || defined(i386) ||
> \
> defined(MIPSEL) || defined(_MIPSEL) || defined(BIT_ZERO_ON_RIGHT) || \
> - defined(__alpha__) || defined(__alpha) || \
> + defined(__alpha__) || defined(__alpha) || defined(__x86_64__) || \
> (defined(__Lynx__) && defined(__x86__))
> #define BYTE_ORDER LITTLE_ENDIAN
> #endif
> -------------------------------------------------------------
>
The final patch to Makefile (see comment about ipv6.h...)
-------------------------------------------------
--- Makefile.orig Fri Oct 20 11:40:20 2006
+++ Makefile Fri Oct 20 12:26:22 2006
@@ -19,6 +19,7 @@
BUILD_DEFS+= BIND_USER BIND_GROUP BIND_DIR VARBASE
USE_LIBTOOL= yes
+USE_TOOLS+= perl
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-libtool=yes \
@@ -41,7 +42,8 @@
MESSAGE_SUBST+= BIND_DIR=${BIND_DIR} BIND_USER=${BIND_USER}
# include/isc/ipv6.h is installed on non-ipv6 platforms
-.if defined(USE_INET6) && (${USE_INET6} == "YES")
+#.if defined(USE_INET6) && (${USE_INET6} == "YES")
+.if defined(USE_INET6) && empty(_OPSYS_HAS_INET6:M[nN][oO])
PLIST_SUBST+= IPV6H="@comment "
.else
PLIST_SUBST+= IPV6H=
Home |
Main Index |
Thread Index |
Old Index