Skip Menu |

This queue is for tickets about the Alien-wxWidgets CPAN distribution.

Report information
The Basics
Id: 74242
Status: resolved
Priority: 0/
Queue: Alien-wxWidgets

People
Owner: Nobody in particular
Requestors: voegelas [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.54
Fixed in: (no value)



Subject: Make check for wxWidgets compiled using Alien::wxWidgets optional
Hi, the Alien::wxWidgets module's Build.PL file checks whether there is a wxWidgets installation on the local system that was compiled using Alien::wxWidgets. The code fragment that does this looks like this: my $ok = eval { require Alien::wxWidgets; [...] }; It would be useful if that code fragment could be disabled by setting an environment variable or a command-line option. CPANPLUS cannot only be used to install modules on the local system but also to create packages like RPM, DEB and TGZ. The problem is that the command "./Build install destdir=$DESTDIR" won't copy the wxWidgets libraries to the package's staging directory if the above eval block returns true. Consequently the libraries will be missing from the package. If the eval block is disabled, i.e. if $ok is set to false, everything works as expected. If the wxWidgets libraries are provided by a separate RPM or DEB, a dependency on that package can be added. Otherwise, the libraries will be provided by the newly created package no matter whether Alien::wxWidgets is installed on the local system or not. Regards, Andreas
Andreas Vögele wrote: Show quoted text
> the Alien::wxWidgets module's Build.PL file checks whether there is a > wxWidgets installation on the local system that was compiled using > Alien::wxWidgets. [...] > > It would be useful if that code fragment could be disabled by setting an > environment variable or a command-line option.
I'm sorry for the noise. It seems that I can do this by setting the environment variable AWX_URL. Regards, Andreas