summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2006-02-18 09:51:12 +0000
committerDoug Barton <dougb@FreeBSD.org>2006-02-18 09:51:12 +0000
commit71a29148032b0644f3b0a06224d60cc8da2fe4d7 (patch)
treef7424d95640ba1df1807b863ce64cd13f2d0379a /dns
parentAdd linux-adobesvg. (diff)
Fix build on sparc64 with the same fix that was applied
to BIND 9, for the same reason.
Notes
Notes: svn path=/head/; revision=156276
Diffstat (limited to 'dns')
-rw-r--r--dns/bind84/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/dns/bind84/Makefile b/dns/bind84/Makefile
index 3f7b355a37ee..5cb8f13be8e6 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" \