[svn:modperl-modules] r283 - in Apache-Scoreboard-2.0/trunk: . Dummy

[email protected] Mon, 21 Jan 2008 10:35:21 -0800 (PST)
Newsgroups perl.modperl.modules.svn
Message-ID <[email protected]>
Author: MJH
Date: Mon Jan 21 10:35:20 2008
New Revision: 283

Modified:
   Apache-Scoreboard-2.0/trunk/Dummy/Makefile.PL
   Apache-Scoreboard-2.0/trunk/Makefile.PL

Log:
add include path for systems where the apr headers aren't in /usr/include/apr but in /usr/include/apr-1

Modified: Apache-Scoreboard-2.0/trunk/Dummy/Makefile.PL
==============================================================================
--- Apache-Scoreboard-2.0/trunk/Dummy/Makefile.PL	(original)
+++ Apache-Scoreboard-2.0/trunk/Dummy/Makefile.PL	Mon Jan 21 10:35:20 2008
@@ -18,7 +18,10 @@
 
 genxs();
 
+my $extra_inc = '-I/usr/include/apr-1';
 ModPerl::MM::WriteMakefile(
     NAME	 => 'Apache::DummyScoreboard',
     VERSION_FROM => 'DummyScoreboard.pm',
+    INC => join " ", $extra_inc, ModPerl::MM::get_def_opt('INC'),
+
 );

Modified: Apache-Scoreboard-2.0/trunk/Makefile.PL
==============================================================================
--- Apache-Scoreboard-2.0/trunk/Makefile.PL	(original)
+++ Apache-Scoreboard-2.0/trunk/Makefile.PL	Mon Jan 21 10:35:20 2008
@@ -30,13 +30,15 @@
 Apache::TestMM::filter_args();
 Apache::TestMM::generate_script('t/TEST');
 
+my $extra_inc = '-I/usr/include/apr-1';
 ModPerl::MM::WriteMakefile(
     NAME         => 'Apache::Scoreboard',
     VERSION_FROM => 'lib/Apache/Scoreboard.pm',
     PREREQ_PM    => \%require,
     clean        => {
         FILES => "@{ clean_files() }",
-    }
+    },
+    INC => join " ", $extra_inc, ModPerl::MM::get_def_opt('INC'),
 );
 
 sub clean_files {