diff options
author | seb <seb> | 2009-06-11 12:37:43 +0000 |
---|---|---|
committer | seb <seb> | 2009-06-11 12:37:43 +0000 |
commit | e7e547ae1166796b9d2300d963bf9f791ada7b8a (patch) | |
tree | fec1d69dfbb3ed4435d1cf887d1eb1415ebdfc3c | |
parent | 9a88d9e0df8482b43b9f1aca07758de51ab8af27 (diff) | |
download | pkgsrc-e7e547ae1166796b9d2300d963bf9f791ada7b8a.tar.gz |
Fix PLIST, configure really, issue when apr-util package has db4
option selected: subversion's configure script does not detect db4
support in apr-util hence ${PREFIX}/lib/libsvn_fs_base-1.* are not
built and installed.
So what's going on ? Well since devel/apr-util has db4 support with
DSO, apu-1-config does not report db4 libraries, flags, etc.
See https://bugs.launchpad.net/ubuntu/+source/apr-util/+bug/96980
The workaround is to give the argument --with-berkeley-db=... to
subversion's configure script when apr-util package has db4 option
selected. See
http://svn.collab.net/viewvc/svn?view=revision&revision=35017
-rw-r--r-- | devel/subversion-base/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/subversion-base/Makefile b/devel/subversion-base/Makefile index ec9f444d792..acf1c5d5bd3 100644 --- a/devel/subversion-base/Makefile +++ b/devel/subversion-base/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.66 2009/06/02 19:48:34 gdt Exp $ +# $NetBSD: Makefile,v 1.67 2009/06/11 12:37:43 seb Exp $ PKGNAME= subversion-base-${SVNVER} COMMENT= Version control system, base programs and libraries @@ -39,6 +39,7 @@ BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=3.4 PLIST_VARS+= db4 .if !empty(PKG_OPTIONS:Mapr1) && !empty(PKG_BUILD_OPTIONS.apr-util:Mdb4) PLIST.db4= yes +CONFIGURE_ARGS+= --with-berkeley-db=:${BUILDLINK_PREFIX.db4:Q}/include:${BUILDLINK_PREFIX.db4:Q}/lib:${BUILDLINK_LDADD.db4:S/^-l//:Q} .else CONFIGURE_ARGS+= --without-berkeley-db .endif |