1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

- Fix build on CURRENT.

This way devel/libevent can be fixed too.
This commit is contained in:
Andrej Zverev 2005-12-21 05:36:33 +00:00
parent 83b7bbb124
commit 6d1cddcd9a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=151713

View File

@ -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>