summaryrefslogtreecommitdiff
path: root/net/p5-NetAddr-IP/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/p5-NetAddr-IP/Makefile')
-rw-r--r--net/p5-NetAddr-IP/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/p5-NetAddr-IP/Makefile b/net/p5-NetAddr-IP/Makefile
index 0f63af3d6afe..fe6c9f3e8ab1 100644
--- a/net/p5-NetAddr-IP/Makefile
+++ b/net/p5-NetAddr-IP/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= NetAddr-IP
-PORTVERSION= 3.09
+PORTVERSION= 3.10
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= NetAddr
@@ -26,4 +26,9 @@ post-patch:
-e '$$_="" if /use warnings/;' \
${WRKSRC}/IP.pm
+post-build:
+ @${PERL} -M5.6.0 -e '' >/dev/null 2>&1 || \
+ ( ${ECHO_MSG} "===> Please note that this module provides more functionality when" && \
+ ${ECHO_MSG} "===> used with perl 5.6.1 or perl 5.8.0 (both in the ports collection)." )
+
.include <bsd.port.mk>