a patch to make 'make xs_generate' work stand-alone.

not sure whether this is the right fix, but it works.

Index: lib/Apache/Build.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/lib/Apache/Build.pm,v
retrieving revision 1.45
diff -u -r1.45 Build.pm
--- lib/Apache/Build.pm 2001/06/28 02:59:17     1.45
+++ lib/Apache/Build.pm 2001/08/25 16:27:16
@@ -3,6 +3,9 @@
 use 5.006;
 use strict;
 use warnings;
+
+use lib qw(Apache-Test/lib);
+
 use Config;
 use Cwd ();
 use File::Spec ();
Index: lib/ModPerl/MapUtil.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/lib/ModPerl/MapUtil.pm,v
retrieving revision 1.2
diff -u -r1.2 MapUtil.pm
--- lib/ModPerl/MapUtil.pm      2001/03/13 01:47:22     1.2
+++ lib/ModPerl/MapUtil.pm      2001/08/25 16:27:16
@@ -23,6 +23,7 @@

 sub function_table {
     return $function_table if @$function_table;
+    push @INC, "xs/tables/current";
     require Apache::FunctionTable;
     require ModPerl::FunctionTable;
     @$function_table = (@$Apache::FunctionTable,
@$ModPerl::FunctionTable);




_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to