Hi,

On 12/04/2012 22:07, Mark Dootson wrote:

For a CPAN install you cannot do this until WXDIR / WXWIN handling is
fixed in the next CPAN release.

Alien::wxWidgets 0.58 which fixes this issue has been uploaded to CPAN.

The attached patch for 0.57 is functionally the same and could be used if you wished to utilise WXWIN/WXDIR before 0.58 propagates to your CPAN mirror.

Regards

Mark
--- inc/My/Build/Win32.pm       Thu Apr 12 22:36:55 2012
+++ inc/My/Build/Win32.pm       Thu Apr 12 22:16:13 2012
@@ -287,9 +287,11 @@
     my $self = shift;
     my $buildflags = '';
        my $extraflags = $self->awx_w32_configure_extra_flags;
+       $buildflags .= $extraflags if $extraflags;
        
-       $buildflags .= $extraflags if $extraflags;
-
+       return $buildflags if !$self->notes('build_wx');
+       
+       
        # extra flags for vers != 2.8 - that is >= 2.9
 
        if( $self->notes( 'build_data' )->{data}{version} !~ /^2.8/ ) {

Reply via email to