aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authoraz <az@FreeBSD.org>2005-12-21 13:36:33 +0800
committeraz <az@FreeBSD.org>2005-12-21 13:36:33 +0800
commitf8b1465529e017af079b1ca92150078c6f2689d3 (patch)
treee16a0329853798da6e1d7a6e50b6b98568910d2e /dns
parenta7fc11919117cdbb020f3bae70897e59dc830216 (diff)
downloadfreebsd-ports-graphics-f8b1465529e017af079b1ca92150078c6f2689d3.tar.gz
freebsd-ports-graphics-f8b1465529e017af079b1ca92150078c6f2689d3.tar.zst
freebsd-ports-graphics-f8b1465529e017af079b1ca92150078c6f2689d3.zip
- Fix build on CURRENT.
This way devel/libevent can be fixed too.
Diffstat (limited to 'dns')
-rw-r--r--dns/dnsproxy/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/dns/dnsproxy/Makefile b/dns/dnsproxy/Makefile
index f85669eb4cd..691bcf91c10 100644
--- a/dns/dnsproxy/Makefile
+++ b/dns/dnsproxy/Makefile
@@ -19,8 +19,15 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= dnsproxy.1
PLIST_FILES= sbin/dnsproxy
+.include <bsd.port.pre.mk>
+
+pre-configure:
+.if ${OSVERSION} > 700007
+ ${RM} ${WRKSRC}/libevent/compat/sys/queue.h
+.endif
+
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/dnsproxy ${PREFIX}/sbin
@${INSTALL_MAN} ${WRKSRC}/dnsproxy.1 ${MAN1PREFIX}/man/man1
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>