diff options
author | Anton Berezin <tobez@FreeBSD.org> | 2001-10-14 21:29:36 +0000 |
---|---|---|
committer | Anton Berezin <tobez@FreeBSD.org> | 2001-10-14 21:29:36 +0000 |
commit | 845b265abaf292a3ff8dea893aff4397929ad0ef (patch) | |
tree | 3e5940f39cb124f2e109001bc943dd16158e8934 /net-mgmt | |
parent | d52a7a070add221e4ebbfa9d2241139427eda139 (diff) | |
download | ports-845b265abaf292a3ff8dea893aff4397929ad0ef.tar.gz ports-845b265abaf292a3ff8dea893aff4397929ad0ef.zip |
Fix port's build on -stable.
Submitted by: bento logs
Notes
Notes:
svn path=/head/; revision=48768
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/p5-NetAddr-IP/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net-mgmt/p5-NetAddr-IP/Makefile b/net-mgmt/p5-NetAddr-IP/Makefile index cac55990c41c..3a4ff32be495 100644 --- a/net-mgmt/p5-NetAddr-IP/Makefile +++ b/net-mgmt/p5-NetAddr-IP/Makefile @@ -19,4 +19,11 @@ PERL_CONFIGURE= yes MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= NetAddr::IP.3 +post-patch: + ${PERL} -pi -e 's/\r//;' \ + -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \ + -e '$$_="" if /require 5/;' \ + -e '$$_="" if /use warnings/;' \ + ${WRKSRC}/IP.pm + .include <bsd.port.mk> |