diff options
author | tobez <tobez@FreeBSD.org> | 2001-10-15 05:29:36 +0800 |
---|---|---|
committer | tobez <tobez@FreeBSD.org> | 2001-10-15 05:29:36 +0800 |
commit | 1bae93ed67043db28f2ed8bc913f69055fe12b99 (patch) | |
tree | 409fa06ec4d03868294a7d6b7d803fc8a29dafd7 /net-mgmt/p5-NetAddr-IP/Makefile | |
parent | befff3e5075ea7f8f159dbe8ef95af3f0477708d (diff) | |
download | freebsd-ports-gnome-1bae93ed67043db28f2ed8bc913f69055fe12b99.tar.gz freebsd-ports-gnome-1bae93ed67043db28f2ed8bc913f69055fe12b99.tar.zst freebsd-ports-gnome-1bae93ed67043db28f2ed8bc913f69055fe12b99.zip |
Fix port's build on -stable.
Submitted by: bento logs
Diffstat (limited to 'net-mgmt/p5-NetAddr-IP/Makefile')
-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> |