perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: modperl-2.0/lib/ModPerl BuildOptions.pm
Date Sat, 08 Sep 2001 18:00:49 GMT
dougm       01/09/08 11:00:49

  Modified:    lib/ModPerl BuildOptions.pm
  Log:
  make sure path to APXS is absolute
  Submitted by:	Philippe M . Chiasson <gozer@cpan.org>
  Reviewed by:	dougm
  
  Revision  Changes    Path
  1.9       +7 -0      modperl-2.0/lib/ModPerl/BuildOptions.pm
  
  Index: BuildOptions.pm
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/lib/ModPerl/BuildOptions.pm,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- BuildOptions.pm	2001/04/27 21:07:53	1.8
  +++ BuildOptions.pm	2001/09/08 18:00:49	1.9
  @@ -8,6 +8,8 @@
   use constant VERBOSE => 1;
   use constant UNKNOWN_FATAL => 2;
   
  +use File::Spec;
  +
   sub init {
       my($self, $build) = @_;
   
  @@ -54,6 +56,11 @@
                   my $usage = usage();
                   die "Unknown Option: $key\nUsage:\n$usage";
               }
  +			
  +            if($key eq 'MP_APXS') {
  +                $val = File::Spec->canonpath(File::Spec->rel2abs($val));
  +            }
  +
               if ($self->{$key}) {
                   $self->{$key} .= ' ';
               }
  
  
  

Mime
View raw message