diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-05-31 11:19:32 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-05-31 11:19:32 +0000 |
commit | 0cb47f77537c2b13f5acb82c1ad559fbfe26a829 (patch) | |
tree | ca9945973b3815f11f68140f3be1ab0a2cb34abb /net/p5-Net-Server | |
parent | 604cf10be2fdf875d9d65a0ecd7cc4e9ec54a2cf (diff) | |
download | ports-0cb47f77537c2b13f5acb82c1ad559fbfe26a829.tar.gz ports-0cb47f77537c2b13f5acb82c1ad559fbfe26a829.zip |
Notes
Diffstat (limited to 'net/p5-Net-Server')
-rw-r--r-- | net/p5-Net-Server/Makefile | 6 |
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 |