- Unbreak on 4.x by using "use vars" instead of "our".
- Add forgotten $PKGNAMEPREFIX. Reported by: pointyhat via kris
This commit is contained in:
@@ -7,9 +7,11 @@
|
||||
|
||||
PORTNAME= Math-Vec
|
||||
PORTVERSION= 0.02
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= math perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= ../../authors/id/E/EW/EWILHELM/Math
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= kuriyama@FreeBSD.org
|
||||
COMMENT= Object-Oriented Vector Math Methods in Perl
|
||||
@@ -17,6 +19,4 @@ COMMENT= Object-Oriented Vector Math Methods in Perl
|
||||
PERL_CONFIGURE= yes
|
||||
MAN3= Math::Vec.3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
||||
10
math/p5-Math-Vec/files/patch-Vec.pm
Normal file
10
math/p5-Math-Vec/files/patch-Vec.pm
Normal file
@@ -0,0 +1,10 @@
|
||||
--- Vec.pm.orig Thu Sep 1 18:16:13 2005
|
||||
+++ Vec.pm Thu Sep 1 18:16:43 2005
|
||||
@@ -1,5 +1,6 @@
|
||||
package Math::Vec;
|
||||
-our $VERSION = '0.02';
|
||||
+use vars qw($VERSION);
|
||||
+$VERSION = '0.02';
|
||||
|
||||
=pod
|
||||
|
||||
Reference in New Issue
Block a user