aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2009-08-14 20:12:39 +0000
committerDoug Barton <dougb@FreeBSD.org>2009-08-14 20:12:39 +0000
commit9b1119296b7004dcb1170de544c0a8f2cd5ba569 (patch)
tree99b21034c96caa97d7a7d3bb06094532746eccd1 /net-mgmt
parent1526b0a3bed731bc99c55a9e5b99e7900c679c20 (diff)
downloadports-9b1119296b7004dcb1170de544c0a8f2cd5ba569.tar.gz
ports-9b1119296b7004dcb1170de544c0a8f2cd5ba569.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/p5-Net-IP/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-mgmt/p5-Net-IP/Makefile b/net-mgmt/p5-Net-IP/Makefile
index b44c96a23fc9..a1891aea8fe0 100644
--- a/net-mgmt/p5-Net-IP/Makefile
+++ b/net-mgmt/p5-Net-IP/Makefile
@@ -7,11 +7,12 @@
PORTNAME= Net-IP
PORTVERSION= 1.25
+PORTREVISION= 1
CATEGORIES= net-mgmt perl5 ipv6
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
-MAINTAINER= lth@FreeBSD.org
+MAINTAINER= dougb@FreeBSD.org
COMMENT= Perl extension for manipulating IPv4/IPv6 addresses
RUN_DEPENDS= ${SITE_PERL}/Math/BigInt.pm:${PORTSDIR}/math/p5-Math-BigInt
@@ -24,4 +25,9 @@ MAN3= Net::IP.3
post-configure:
${PERL} -pi -e 's/-I\S+PERL\S+ //g if m{PERL_DL_NONLAZY}' ${WRKSRC}/Makefile
+post-patch:
+ @${CP} ${WRKSRC}/IP.pm ${WRKSRC}/IP.pm.presed
+ @${SED} -e "1853s#\\s+#\s*#g" ${WRKSRC}/IP.pm.presed > \
+ ${WRKSRC}/IP.pm
+
.include <bsd.port.mk>