pkgsrc/www/apache22/patches/patch-ai

20 lines
527 B
Text
Raw Normal View History

$NetBSD: patch-ai,v 1.2 2007/02/02 18:06:27 sborrill Exp $
--- support/apxs.in.orig 2006-12-08 18:41:57.000000000 +0100
+++ support/apxs.in 2006-12-08 18:43:44.000000000 +0100
@@ -338,8 +338,12 @@
exit(1);
}
-my $libtool = `$apr_config --apr-libtool`;
-chomp($libtool);
+my $libtool = $ENV{'APR_LIBTOOL'};
+unless ($libtool) {
+ $libtool = `@LOCALBASE@/bin/apr-config --installbuilddir`;
+ chomp($libtool);
+ $libtool = "$libtool/libtool";
+}
my $apr_includedir = `$apr_config --includes`;
chomp($apr_includedir);