aboutsummaryrefslogtreecommitdiff
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
parent4019be6b939ea0872b2432a886156a2b1bdebfab (diff)
downloadports-71a29148032b0644f3b0a06224d60cc8da2fe4d7.tar.gz
ports-71a29148032b0644f3b0a06224d60cc8da2fe4d7.zip
Notes
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" \