19 lines
529 B
Text
19 lines
529 B
Text
$NetBSD: patch-ai,v 1.3 2007/02/25 00:02:35 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-1-config --installbuilddir`;
|
|
+ chomp($libtool);
|
|
+ $libtool = "$libtool/libtool";
|
|
+}
|
|
|
|
my $apr_includedir = `$apr_config --includes`;
|
|
chomp($apr_includedir);
|