Stas Bekman wrote:
Philippe M. Chiasson wrote:
When configurating apache for static build, force an early build of stuff in srclib/ as there are generated files in there we need to be able to probe at configuration time.
+1
Thanks, done!
Index: lib/Apache/Build.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/lib/Apache/Build.pm,v
retrieving revision 1.179
diff -u -I$Id -r1.179 Build.pm
--- lib/Apache/Build.pm 18 Sep 2004 23:27:39 -0000 1.179
+++ lib/Apache/Build.pm 20 Sep 2004 20:35:50 -0000
@@ -285,6 +285,13 @@
my $cmd = qq(./configure $self->{MP_AP_CONFIGURE});
debug "Running $cmd";
system("$cd && $cmd") == 0 or die "httpd: $cmd failed";
+
+ # Got to build in srclib/* early to have generated files present.
+ my $srclib = File::Spec->catfile($self->{MP_AP_PREFIX}, 'srclib');
+ $cd = qq(cd $srclib);
+ $cmd = qq(make);
+ debug "Building srclib in $srclib";
+ system("$cd && $cmd") == 0 or die "srclib: $cmd failed";
}
#--- Perl Config stuff ---
------------------------------------------------------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
signature.asc
Description: OpenPGP digital signature
