diff options
author | linimon <linimon@FreeBSD.org> | 2007-09-08 09:12:10 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2007-09-08 09:12:10 +0800 |
commit | 9ccc7e92dea72d32d4ae04470bbce43e6f9227da (patch) | |
tree | 20264757b2346c435477e3f6cfdf324086bbafe9 /www/p5-WWW-Shorten-0rz | |
parent | 07d9e093a64a0c7f96ed0775d50e0f818d98fd80 (diff) | |
download | freebsd-ports-gnome-9ccc7e92dea72d32d4ae04470bbce43e6f9227da.tar.gz freebsd-ports-gnome-9ccc7e92dea72d32d4ae04470bbce43e6f9227da.tar.zst freebsd-ports-gnome-9ccc7e92dea72d32d4ae04470bbce43e6f9227da.zip |
Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.
Work done by: gabor
Sponsored by: Google Summer of Code 2007
Hat: portmgr
Diffstat (limited to 'www/p5-WWW-Shorten-0rz')
-rw-r--r-- | www/p5-WWW-Shorten-0rz/Makefile | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/www/p5-WWW-Shorten-0rz/Makefile b/www/p5-WWW-Shorten-0rz/Makefile index 3e1e682e7b07..a7f26e0e73af 100644 --- a/www/p5-WWW-Shorten-0rz/Makefile +++ b/www/p5-WWW-Shorten-0rz/Makefile @@ -23,14 +23,4 @@ PERL_CONFIGURE= yes MAN3= WWW::Shorten::0rz.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500600 -post-patch: - @${PERL} -pi -e 's/^our ([\$$\@]\w+)/use vars qw($$1); $$1/;' \ - -e '$$_ = "" if /use 5.006/;' \ - -e '$$_ = "" if /use warnings/;' \ - $$(${FIND} ${WRKSRC} -name '*.pm') -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |