summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorAndrej Zverev <az@FreeBSD.org>2005-12-21 05:36:33 +0000
committerAndrej Zverev <az@FreeBSD.org>2005-12-21 05:36:33 +0000
commit6d1cddcd9af6c2d2b257633bb0968bd1b15bbf9a (patch)
tree095643f6711c6bd76d2741eee542ac16301d17de /dns
parentNew port: games/toycars Physics-based 2D racing game (diff)
- Fix build on CURRENT.
This way devel/libevent can be fixed too.
Notes
Notes: svn path=/head/; revision=151713
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 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>