1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

- Switch to options helpers

- Drop 8.x support
This commit is contained in:
Dmitry Marakasov 2015-09-02 22:39:27 +00:00
parent dee0cc1ba2
commit 68ba0bfa6f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395914

View File

@ -22,26 +22,13 @@ CONFIGURE_ARGS= --localstatedir=/var --with-randomdev=/dev/random
OPTIONS_DEFINE= IPV6 THREADS
OPTIONS_DEFAULT= IPV6 THREADS
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MIPV6}
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif
.if ${PORT_OPTIONS:MTHREADS}
CONFIGURE_ARGS+= --enable-threads
.else
CONFIGURE_ARGS+= --disable-threads
.endif
IPV6_CONFIGURE_ENABLE= ipv6
THREADS_CONFIGURE_ENABLE= threads
verify: checksum
gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc
.if ${OSVERSION} > 900007
post-patch:
${REINPLACE_CMD} -e '/#include <utmp.h>/ d' ${WRKSRC}/irs/*.c
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>