diff options
author | dougb <dougb@FreeBSD.org> | 2010-06-14 16:40:55 +0800 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2010-06-14 16:40:55 +0800 |
commit | 46b13f6ebcc49551f616b5dab11fe108e8f20ae0 (patch) | |
tree | 749f5315dbaa852b45cab5508151e9a2ef1b0c62 /dns | |
parent | 871de6d19e9e95de86ff8f6fd22bcc514d8bf7d4 (diff) | |
download | freebsd-ports-gnome-46b13f6ebcc49551f616b5dab11fe108e8f20ae0.tar.gz freebsd-ports-gnome-46b13f6ebcc49551f616b5dab11fe108e8f20ae0.tar.zst freebsd-ports-gnome-46b13f6ebcc49551f616b5dab11fe108e8f20ae0.zip |
Unbreak on HEAD
Diffstat (limited to 'dns')
-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> |