Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: Dev
Apache::Test version issues
 

Index | Next | Previous | View Flat


fred at redhotpenguin

Apr 18, 2009, 2:18 AM


Views: 999
Permalink
Apache::Test version issues

Can someone explain to me why we need version here? Is it for older
versions of perl?

http://rt.cpan.org/Public/Bug/Display.html?id=32992


#! /bin/sh /usr/share/dpatch/dpatch-run
## 01-version.dpatch by <mhershberger[at]intrahealth.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Fix up the version checking

@DPATCH@

diff -ub Apache-Test-1.30/Makefile.PL\~ Apache-Test-1.30/Makefile.PL
--- Apache-Test-1.30/Makefile.PL~ 2007-11-14 01:44:36.000000000 -0500
+++ Apache-Test-1.30/Makefile.PL 2008-01-29 21:56:49.000000000 -0500
@@ -2,7 +2,7 @@

use lib qw(lib);
use Apache::Test5005compat;
-
+use version;
use strict;
use warnings;

@@ -147,7 +147,7 @@
}
}

-if (TOP_LEVEL && $ExtUtils::MakeMaker::VERSION < 6.06) {
+if (TOP_LEVEL && version->new($ExtUtils::MakeMaker::VERSION) < version->new(6.0
6)) {
# now that we're using subversion, make sure that
# .svn directories are skipped during the build process
# for old versions of MakeMaker
@@ -223,3 +223,4 @@
$string;
};
}

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe[at]perl.apache.org
For additional commands, e-mail: dev-help[at]perl.apache.org

Subject User Time
Apache::Test version issues fred at redhotpenguin Apr 18, 2009, 2:18 AM
    Re: Apache::Test version issues pgollucci at p6m7g8 Apr 24, 2009, 10:30 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.