diff options
| author | Doug Barton <dougb@FreeBSD.org> | 2010-06-14 08:40:55 +0000 |
|---|---|---|
| committer | Doug Barton <dougb@FreeBSD.org> | 2010-06-14 08:40:55 +0000 |
| commit | 9a95d46dc7c95eb9630e1c4a45eaf519064cffc9 (patch) | |
| tree | d1384fd3170a2c5e64a15085876122dc674e2d39 /dns/libbind | |
| parent | a22b6e03bd5a2cb542a37ded0f6eb698503f02be (diff) | |
Notes
Diffstat (limited to 'dns/libbind')
| -rw-r--r-- | dns/libbind/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/dns/libbind/Makefile b/dns/libbind/Makefile index 6316978b7245..b152e589ef8b 100644 --- a/dns/libbind/Makefile +++ b/dns/libbind/Makefile @@ -27,10 +27,6 @@ OPTIONS= IPV6 "Compile with IPv6 support" on \ .include <bsd.port.pre.mk> -.if ${OSVERSION} > 900007 -BROKEN= fails to build with new utmpx -.endif - .if !defined(WITHOUT_IPV6) CONFIGURE_ARGS+= --enable-ipv6 .else @@ -51,4 +47,11 @@ MAN7= hostname.7 verify: checksum gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc +post-patch: +.if ${OSVERSION} > 900007 + ${CP} ${WRKSRC}/irs/irpmarshall.c ${WRKSRC}/irs/irpmarshall.c.dist + ${SED} -e 's/\#include \<utmp.h\>//' \ + ${WRKSRC}/irs/irpmarshall.c.dist > ${WRKSRC}/irs/irpmarshall.c +.endif + .include <bsd.port.post.mk> |
