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 + +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 +.include