diff options
author | dougb <dougb@FreeBSD.org> | 2006-02-18 17:51:12 +0800 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2006-02-18 17:51:12 +0800 |
commit | fa9d8fbab5f784259055cd4ff80a4bea938b3291 (patch) | |
tree | 23a68ac438cf8b755c7e69e64339a2f06e018a07 /dns/bind84 | |
parent | a9f6c80546365cf7257a84509bd49f2c052fa676 (diff) | |
download | freebsd-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/Makefile | 6 |
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" \ |