diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2003-08-31 08:18:46 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2003-08-31 08:18:46 +0000 |
commit | 0659e64d626481bbea00af3a4c8419c779816c74 (patch) | |
tree | 5ff4a633cf9f2d03113936727c3454e314cc0392 /devel/p5-Data-UUID/Makefile | |
parent | 47846ba2684d4380079fbe8af0508e24b83cd293 (diff) | |
download | ports-0659e64d626481bbea00af3a4c8419c779816c74.tar.gz ports-0659e64d626481bbea00af3a4c8419c779816c74.zip |
Notes
Diffstat (limited to 'devel/p5-Data-UUID/Makefile')
-rw-r--r-- | devel/p5-Data-UUID/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/devel/p5-Data-UUID/Makefile b/devel/p5-Data-UUID/Makefile index 1a859373d006..cd235665b802 100644 --- a/devel/p5-Data-UUID/Makefile +++ b/devel/p5-Data-UUID/Makefile @@ -6,7 +6,7 @@ # PORTNAME= Data-UUID -PORTVERSION= 0.09 +PORTVERSION= 0.11 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Data @@ -20,4 +20,13 @@ CONFIGURE_ARGS= </dev/null MAN3= Data::UUID.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +post-patch: +.if ${PERL_LEVEL} < 500601 + @${PERL} -pi -e '$$_="" if $$.==31' ${WRKSRC}/UUID.pm + @${PERL} -pi -e '$$_=~s/INT2PTR\(\$$type,/(\$$type)(/ if $$.==8' \ + ${WRKSRC}/typemap +.endif + +.include <bsd.port.post.mk> |