Subject: Re: apr1 versus apr and subversion-base vs. apache22
To: Jeremy C. Reed <reed@reedmedia.net>
From: Eric Gillespie <epg@NetBSD.org>
List: pkgsrc-users
Date: 12/12/2006 10:45:47
"Jeremy C. Reed" <reed@reedmedia.net> writes:

> I had subversion-base installed which depended on apr-0.9.12.2.0.59.
> 
> Building apache22 built apr1 but didn't install due to conflict.
> 
> subversion-base has:
> BUILDLINK_API_DEPENDS.apr+=             apr>=0.9.5
> .include "../../devel/apr/buildlink3.mk"
> 
> I didn't check yet if subversion-base will work with apr1.

It depends how much we care about ABI incompatibility.  The
Subversion ABI includes the APR and APR-util ABIs, which changed
incompatibly in 1.x.  Subversion promises to stay API and ABI
compatible in 1.x, and thus ships with and defaults to apr
0.9.x.  Arguably, since we've been shipping such binaries, we
should stick with 0.9.x.

At the very least, we should make building witih apr 1.x
optional, maybe so that it installs 0.9.x if no apr is already
installed, and otherwise uses 1.x.

I can do the work, but i'm not sure how we want to approach it.

-- 
Eric Gillespie <*> epg@NetBSD.org