aboutsummaryrefslogtreecommitdiff
path: root/net/p5-Net-Server
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-05-31 11:19:32 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-05-31 11:19:32 +0000
commit0cb47f77537c2b13f5acb82c1ad559fbfe26a829 (patch)
treeca9945973b3815f11f68140f3be1ab0a2cb34abb /net/p5-Net-Server
parent604cf10be2fdf875d9d65a0ecd7cc4e9ec54a2cf (diff)
downloadports-0cb47f77537c2b13f5acb82c1ad559fbfe26a829.tar.gz
ports-0cb47f77537c2b13f5acb82c1ad559fbfe26a829.zip
Convert to new options framework
Notes
Notes: svn path=/head/; revision=297871
Diffstat (limited to 'net/p5-Net-Server')
-rw-r--r--net/p5-Net-Server/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/p5-Net-Server/Makefile b/net/p5-Net-Server/Makefile
index 6a22f055bd4b..b0f1496a1c38 100644
--- a/net/p5-Net-Server/Makefile
+++ b/net/p5-Net-Server/Makefile
@@ -19,7 +19,7 @@ RUN_DEPENDS= p5-IO-Multiplex>=1.01:${PORTSDIR}/devel/p5-IO-Multiplex
PERL_CONFIGURE= yes
-OPTIONS= IPV6 "Enable ipv6 support patch from Debian" off
+OPTIONS_DEFINE= IPV6
MAN3= Net::Server.3 \
Net::Server::Daemonize.3\
@@ -41,14 +41,14 @@ MAN3= Net::Server.3 \
.include <bsd.port.options.mk>
-.if defined(WITH_IPV6)
+.if ${PORT_OPTIONS:MIPV6}
BUILD_DEPENDS+= p5-Socket6>=0.23:${PORTSDIR}/net/p5-Socket6
RUN_DEPENDS+= p5-Socket6>=0.23:${PORTSDIR}/net/p5-Socket6
EXTRA_PATCHES= ${FILESDIR}/extra-patch-ipv6-support
.endif
post-patch:
-.if defined(WITH_IPV6)
+.if ${PORT_OPTIONS:MIPV6}
@cd ${WRKSRC}/ && ${FIND} . -name '*.orig' -delete
.endif