Subject: | please use XMLPREFIX from the Makefile.PL command line |
Date: | Mon, 31 Jan 2011 13:51:33 -0600 |
To: | bug-XML-LibXML [...] rt.cpan.org |
From: | E R <pc88mxer [...] gmail.com> |
To make LibXML-Common easier to build, please look for XMLPREFIX on
the Makefile.PL command line - i.e. something like this:
...
my $xml2cfg = "xml2-config";
my $libprefix = $ENV{XMLPREFIX} || $config{XMLPREFIX};
delete $config{XMLPREFIX}; # delete if exists, otherwise MakeMaker
gets confused
if ( defined $libprefix ) {
$xml2cfg = $libprefix . '/bin/' . $xml2cfg;
}
...
This is how XML-LibXML does it, and it makes it easier to build with a
custom version of libxml using Distroprefs.
Thanks,
ER