diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2004-04-01 17:13:10 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2004-04-01 17:13:10 +0000 |
commit | 6b36417c29ee1a80478a91c0f2ade111d67e3521 (patch) | |
tree | 8a014040f28736a20ff890592a54e882fed241e5 /sysutils/p5-Sys-Hostname-Long/Makefile | |
parent | 0858a4149f5774d7b47584af61647cffab566a9b (diff) | |
download | ports-6b36417c29ee1a80478a91c0f2ade111d67e3521.tar.gz ports-6b36417c29ee1a80478a91c0f2ade111d67e3521.zip |
Notes
Diffstat (limited to 'sysutils/p5-Sys-Hostname-Long/Makefile')
-rw-r--r-- | sysutils/p5-Sys-Hostname-Long/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sysutils/p5-Sys-Hostname-Long/Makefile b/sysutils/p5-Sys-Hostname-Long/Makefile index b04f1fd8f83e..536209f25ea9 100644 --- a/sysutils/p5-Sys-Hostname-Long/Makefile +++ b/sysutils/p5-Sys-Hostname-Long/Makefile @@ -6,7 +6,7 @@ # PORTNAME= Sys-Hostname-Long -PORTVERSION= 1.0 +PORTVERSION= 1.2 CATEGORIES= sysutils perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Sys @@ -19,4 +19,11 @@ PERL_CONFIGURE= yes MAN3= Sys::Hostname::Long.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +post-patch: + @${PERL} -i -pe 's/}\(/}->(/' ${WRKSRC}/lib/Sys/Hostname/Long.pm +.endif + +.include <bsd.port.post.mk> |