Tue Apr 01 13:09:12 2014: Request 94367 was acted upon.
Transaction: Ticket created by gre...@debian.org
       Queue: Alien-wxWidgets
     Subject: [PATCH] wx-config --version and wxwidgets3.0
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: gre...@debian.org
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=94367 >


In Debian we are currently applying the attached patch to Alien-wxWidgets.
We thought you might be interested in it, too.

Description: adjust Build.PL to wxwidgets3.0
 allow ^3 as an answer of `wx-config --version' for system wxwidgets
Origin: vendor
Author: gregor herrmann <gre...@debian.org>
Last-Update: 2014-04-01


Thanks in advance,
gregor herrmann, Debian Perl Group

Description: adjust Build.PL to wxwidgets3.0
 allow ^3 as an answer of `wx-config --version' for system wxwidgets
Origin: vendor
Author: gregor herrmann <gre...@debian.org>
Last-Update: 2014-04-01

--- a/Build.PL
+++ b/Build.PL
@@ -153,7 +153,7 @@
     my $wx_config = My::Build::Base->awx_path_search( 'wx-config' );
     if( $wx_config ) {
         my $ans = `wx-config --version`;
-        if( $ans =~ /^2\./ ) {
+        if( $ans =~ /^[23]\./ ) {
             my $prefix = `wx-config --prefix`;
             chomp foreach $ans, $prefix;
             if( _check_installed_widgets_ok($ans, $prefix) ) {

Reply via email to