- Unbreak on 4.x by using "use vars" instead of "our".

- Add forgotten $PKGNAMEPREFIX.

Reported by:	pointyhat via kris
This commit is contained in:
Jun Kuriyama
2005-09-01 09:22:02 +00:00
parent 48c80046e9
commit 94bec01f5e
2 changed files with 13 additions and 3 deletions

View File

@@ -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>

View 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