1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Convert to new options framework

Feature safe:	yes
This commit is contained in:
Baptiste Daroussin 2012-10-12 07:04:45 +00:00
parent 4483e3ffd3
commit 416fb31fde
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=305758

View File

@ -17,18 +17,17 @@ MAKE_JOBS_UNSAFE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var --with-randomdev=/dev/random
OPTIONS= IPV6 "Compile with IPv6 support" on \
THREADS "Compile with thread support" on
OPTIONS_DEFINE= IPV6 THREADS
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_IPV6)
.if ${PORT_OPTIONS:MIPV6}
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif
.if !defined(WITHOUT_THREADS)
.if ${PORT_OPTIONS:MTHREADS}
CONFIGURE_ARGS+= --enable-threads
.else
CONFIGURE_ARGS+= --disable-threads