summaryrefslogtreecommitdiffstats
path: root/dns/dnsproxy
diff options
context:
space:
mode:
authoraz <az@FreeBSD.org>2005-12-21 05:36:33 +0000
committeraz <az@FreeBSD.org>2005-12-21 05:36:33 +0000
commitf8b1465529e017af079b1ca92150078c6f2689d3 (patch)
treee16a0329853798da6e1d7a6e50b6b98568910d2e /dns/dnsproxy
parenta7fc11919117cdbb020f3bae70897e59dc830216 (diff)
downloadFreeBSD-ports-f8b1465529e017af079b1ca92150078c6f2689d3.zip
FreeBSD-ports-f8b1465529e017af079b1ca92150078c6f2689d3.tar.gz
- Fix build on CURRENT.
This way devel/libevent can be fixed too.
Diffstat (limited to 'dns/dnsproxy')
-rw-r--r--dns/dnsproxy/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/dns/dnsproxy/Makefile b/dns/dnsproxy/Makefile
index f85669e..691bcf91 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>
OpenPOWER on IntegriCloud