Return-Path: Delivered-To: apmail-perl-modperl-cvs-archive@www.apache.org Received: (qmail 2115 invoked from network); 3 Sep 2004 13:03:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Sep 2004 13:03:32 -0000 Received: (qmail 27750 invoked by uid 500); 3 Sep 2004 13:02:43 -0000 Delivered-To: apmail-perl-modperl-cvs-archive@perl.apache.org Received: (qmail 27658 invoked by uid 500); 3 Sep 2004 13:02:42 -0000 Mailing-List: contact modperl-cvs-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@perl.apache.org Delivered-To: mailing list modperl-cvs@perl.apache.org Received: (qmail 27561 invoked by uid 500); 3 Sep 2004 13:02:41 -0000 Delivered-To: apmail-modperl-2.0-cvs@apache.org X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Date: 3 Sep 2004 13:02:39 -0000 Message-ID: <20040903130239.1532.qmail@minotaur.apache.org> From: geoff@apache.org To: modperl-2.0-cvs@apache.org Subject: cvs commit: modperl-2.0/lib/Apache Build.pm X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N geoff 2004/09/03 06:02:39 Modified: lib/Apache Build.pm Log: polish build in cases where apr, apr-util, and httpd all live in separate directories. Submitted by: Joe Orton Revision Changes Path 1.173 +2 -1 modperl-2.0/lib/Apache/Build.pm Index: Build.pm =================================================================== RCS file: /home/cvs/modperl-2.0/lib/Apache/Build.pm,v retrieving revision 1.172 retrieving revision 1.173 diff -u -r1.172 -r1.173 --- Build.pm 25 Aug 2004 17:20:00 -0000 1.172 +++ Build.pm 3 Sep 2004 13:02:39 -0000 1.173 @@ -975,6 +975,7 @@ my $key = "${what}_config_path"; # apr_config_path my $mp_key = "MP_" . uc($what) . "_CONFIG"; # MP_APR_CONFIG + my $bindir = uc($what) . "_BINDIR"; # APR_BINDIR return $self->{$key} if $self->{$key} and -x $self->{$key}; @@ -993,7 +994,7 @@ } else { push @tries, grep length, - map $self->apxs(-q => $_), qw(APR_BINDIR BINDIR); + map $self->apxs(-q => $_), $bindir, "BINDIR"; push @tries, catdir $self->{MP_AP_PREFIX}, "bin" if exists $self->{MP_AP_PREFIX} and -d $self->{MP_AP_PREFIX}; }