summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dns/dnsproxy/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/dns/dnsproxy/Makefile b/dns/dnsproxy/Makefile
index f85669eb4cd3..691bcf91c10a 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>