apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: apr-util RPM - I'm stuck
Date Wed, 23 Jun 2004 13:09:05 GMT
On Wed, Jun 23, 2004 at 01:00:40PM +0100, Joe Orton wrote:
> On Wed, Jun 23, 2004 at 01:31:33PM +0200, Graham Leggett wrote:
> > Joe Orton wrote:
> > 
> > >I think the correct solution is to:
> > >
> > >1) make the apr "make install" install those .awk files into the 
> > >installbuilddir directory.
> > >
> > >2) replace use of the `apr-config --srcdir` with `apr-config
> > >--installbuilddir` in apr-util's configure & Makefile.
> > 
> > That's exactly it - thanks! I didn't know that --installbuilddir did 
> > what I wanted.
> > 
> > So the solution would be to remove the last references to apr's source 
> > directory from apr-util, and use --installbuilddir instead.
> 
> OK, I committed those changes.

And then I reverted them, since they broke VPATH builds with in-tree
apr/apr-util.  apr-util needs to find both apr_rules.mk and the awk
scripts, for the in-tree build, the former lies in a VPATH build
directory, the latter in the VPATH source directory; `apr-config
--installbuilddir` can't point to both.

I remember now why a two-line apr-config patch in the RPM was the
simplest solution... 

joe

Mime
View raw message