pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/subversion-base Fix PLIST, configure really, iss...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cefcc6bb2f3c
branches: trunk
changeset: 394526:cefcc6bb2f3c
user: seb <seb%pkgsrc.org@localhost>
date: Thu Jun 11 12:37:43 2009 +0000
description:
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
diffstat:
devel/subversion-base/Makefile | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 204914a84f3e -r cefcc6bb2f3c devel/subversion-base/Makefile
--- a/devel/subversion-base/Makefile Thu Jun 11 12:06:10 2009 +0000
+++ b/devel/subversion-base/Makefile Thu Jun 11 12:37:43 2009 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index