mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
- update to 0.2804
- depends on version.pm again.
This commit is contained in:
parent
88dc3f9c47
commit
4e7d30e2b9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=168596
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= Module-Build
|
||||
PORTVERSION= 0.28.03
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.28.04
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Module/KWILLIAMS
|
||||
@ -18,6 +17,7 @@ MAINTAINER= clsung@FreeBSD.org
|
||||
COMMENT= Build and install Perl modules
|
||||
|
||||
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools \
|
||||
${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version \
|
||||
${SITE_PERL}/ExtUtils/CBuilder.pm:${PORTSDIR}/devel/p5-ExtUtils-CBuilder
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (Module-Build-0.2803.tar.gz) = f4a0da17944edb9840b796f0a9f3545f
|
||||
SHA256 (Module-Build-0.2803.tar.gz) = 896115ae39cb2ce731d79b9ea2fd168f342fa8e8eb65da3f9fb547fd45bcbfbf
|
||||
SIZE (Module-Build-0.2803.tar.gz) = 181194
|
||||
MD5 (Module-Build-0.2804.tar.gz) = db3bd4acd00c257762f12b41c581d6a6
|
||||
SHA256 (Module-Build-0.2804.tar.gz) = 6d549453db2189c4505b8c888a8a28714a7fd1c19d11f861a3eb67c565fc27de
|
||||
SIZE (Module-Build-0.2804.tar.gz) = 181282
|
||||
|
@ -1,16 +0,0 @@
|
||||
--- lib/Module/Build/Base.pm.orig Sun Jul 16 04:42:38 2006
|
||||
+++ lib/Module/Build/Base.pm Sun Jul 16 16:20:49 2006
|
||||
@@ -1232,8 +1232,11 @@
|
||||
sub compare_versions {
|
||||
my $self = shift;
|
||||
my ($v1, $op, $v2) = @_;
|
||||
- $v1 = Module::Build::Version->new($v1)
|
||||
- unless UNIVERSAL::isa($v1,'Module::Build::Version');
|
||||
+ #$v1 = Module::Build::Version->new($v1)
|
||||
+ # unless UNIVERSAL::isa($v1,'Module::Build::Version');
|
||||
+ # for alpha versions - this doesn't cover all cases, but should work for most:
|
||||
+ $v1 =~ s/_(\d+)\z/$1/;
|
||||
+ $v2 =~ s/_(\d+)\z/$1/;
|
||||
|
||||
my $eval_str = "\$v1 $op \$v2";
|
||||
my $result = eval $eval_str;
|
@ -1,20 +0,0 @@
|
||||
--- lib/Module/Build/ModuleInfo.pm.orig Sun Jul 16 04:42:38 2006
|
||||
+++ lib/Module/Build/ModuleInfo.pm Sun Jul 16 16:16:22 2006
|
||||
@@ -286,12 +286,16 @@
|
||||
};
|
||||
|
||||
local $^W;
|
||||
+ my $old_version = \&UNIVERSAL::VERSION;
|
||||
+ eval {require version};
|
||||
# Try and get the $VERSION
|
||||
my $result = eval $eval;
|
||||
+ * UNIVERSAL::VERSION = $old_version;
|
||||
warn "Error evaling version line '$eval' in $self->{filename}: $@\n" if $@;
|
||||
|
||||
# Bless it into our own version class
|
||||
- $result = Module::Build::Version->new($result);
|
||||
+ #$result = Module::Build::Version->new($result);
|
||||
+ $result = $result->numify if UNIVERSAL::isa($result, 'version');
|
||||
|
||||
return $result;
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
--- lib/Module/Build/Version.pm.orig Sun Jul 16 04:42:38 2006
|
||||
+++ lib/Module/Build/Version.pm Sun Jul 16 16:07:54 2006
|
||||
@@ -1,5 +1,5 @@
|
||||
package Module::Build::Version;
|
||||
-use base qw/version/;
|
||||
+#use base qw/version/;
|
||||
|
||||
use overload (
|
||||
'""' => \&stringify,
|
Loading…
Reference in New Issue
Block a user