1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Fix build on sparc64 with the same fix that was applied

to BIND 9, for the same reason.
This commit is contained in:
Doug Barton 2006-02-18 09:51:12 +00:00
parent 4019be6b93
commit 71a2914803
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=156276

View File

@ -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" \