Enable IPv6.

PR:		ports/143629
Submitted by:	Martin Birgmeier <martin.birgmeier@aon.at>
This commit is contained in:
Kirill Ponomarev 2010-04-23 12:42:36 +00:00
parent 62e59244fc
commit 42ce3ab8db
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=253090

View file

@ -22,7 +22,8 @@ OPTIONS= MYSQL "Enable MySQL support." Off \
PGSQL "Enable PostgreSQL support." Off \
SQLITE "Enable SQLite support." Off \
MMAP "Enable mmap(2) support." On \
LAYER2 "Enable Layer-2 support: MAC Adresses and VLANs" On
LAYER2 "Enable Layer-2 support: MAC Adresses and VLANs" On \
IPV6 "Enable IPv6 support." On
.include <bsd.port.pre.mk>
@ -68,6 +69,12 @@ CONFIGURE_ARGS+=--disable-l2
CONFIGURE_ARGS+=--enable-l2
.endif
.if defined(WITHOUT_IPV6)
CONFIGURE_ARGS+=--disable-ipv6
.else
CONFIGURE_ARGS+=--enable-ipv6
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/configure