You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by to...@apache.org on 2012/02/18 19:31:38 UTC
svn commit: r1290839 - /perl/modperl/trunk/Makefile.PL
Author: torsten
Date: Sat Feb 18 18:31:38 2012
New Revision: 1290839
URL: http://svn.apache.org/viewvc?rev=1290839&view=rev
Log:
pass MP_APXS and MP_AP_PREFIX to submodule Makefile.PLs as environment variables
Modified:
perl/modperl/trunk/Makefile.PL
Modified: perl/modperl/trunk/Makefile.PL
URL: http://svn.apache.org/viewvc/perl/modperl/trunk/Makefile.PL?rev=1290839&r1=1290838&r2=1290839&view=diff
==============================================================================
--- perl/modperl/trunk/Makefile.PL (original)
+++ perl/modperl/trunk/Makefile.PL Sat Feb 18 18:31:38 2012
@@ -241,6 +241,8 @@ EOI
}
}
+ $build->{$_} and $ENV{$_} = $build->{$_} for (qw/MP_APXS MP_AP_PREFIX/);
+
unless ($build->{MP_APXS} or $build->{MP_AP_PREFIX}) {
my $ok = 0;
for my $path ($build->find) {