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 | |
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')
-rw-r--r-- | www/p5-WWW-Shorten/Makefile | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/www/p5-WWW-Shorten/Makefile b/www/p5-WWW-Shorten/Makefile index 7292d9644e2f..de5e9eeeb7c4 100644 --- a/www/p5-WWW-Shorten/Makefile +++ b/www/p5-WWW-Shorten/Makefile @@ -60,14 +60,4 @@ post-install: test: cd ${WRKSRC} ; make test -.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> |