aboutsummaryrefslogtreecommitdiffstats
path: root/dns/bind84
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2006-02-18 17:51:12 +0800
committerdougb <dougb@FreeBSD.org>2006-02-18 17:51:12 +0800
commitfa9d8fbab5f784259055cd4ff80a4bea938b3291 (patch)
tree23a68ac438cf8b755c7e69e64339a2f06e018a07 /dns/bind84
parenta9f6c80546365cf7257a84509bd49f2c052fa676 (diff)
downloadfreebsd-ports-graphics-fa9d8fbab5f784259055cd4ff80a4bea938b3291.tar.gz
freebsd-ports-graphics-fa9d8fbab5f784259055cd4ff80a4bea938b3291.tar.zst
freebsd-ports-graphics-fa9d8fbab5f784259055cd4ff80a4bea938b3291.zip
Fix build on sparc64 with the same fix that was applied
to BIND 9, for the same reason.
Diffstat (limited to 'dns/bind84')
-rw-r--r--dns/bind84/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/dns/bind84/Makefile b/dns/bind84/Makefile
index 3f7b355a37e..5cb8f13be8e 100644
--- a/dns/bind84/Makefile
+++ b/dns/bind84/Makefile
@@ -80,6 +80,12 @@ post-patch:
@${MV} ${WRKSRC}/port/freebsd/Makefile.set.sed \
${WRKSRC}/port/freebsd/Makefile.set
+ @${SED} -e "s/^#ifdef __sparcv9/#if defined(sun) \&\& defined(_SOCKLEN_T) \&\& defined(__sparcv9)/" \
+ ${WRKSRC}/lib/irs/getaddrinfo.c > \
+ ${WRKSRC}/lib/irs/getaddrinfo.c.sed
+ @${MV} ${WRKSRC}/lib/irs/getaddrinfo.c.sed \
+ ${WRKSRC}/lib/irs/getaddrinfo.c
+
.if defined(PORT_REPLACES_BASE_BIND8)
.for dir in nslookup nsupdate
@${SED} -e "s#{DESTBIN}#{DESTSBIN}#g" \
s='deletions'>-1/+1 * - Fix date type size_tmiwi2007-04-182-0/+22 * Update master site.lawrance2006-11-051-1/+1 * Reset inactive maintainer who has not responded to email.linimon2006-09-051-1/+1 * Update to 0.4.12.lawrance2006-05-162-5/+4 * SHA256ifyedwin2006-01-23