Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Mar 2007 19:28:28 +0100
From:      "kay.abendroth@raxion.net" <kay.abendroth@raxion.net>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/110198: respect other BDB versions in devel/kdevelop
Message-ID:  <1173637708.99437@halo>
Resent-Message-ID: <200703111850.l2BIo38J088666@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         110198
>Category:       ports
>Synopsis:       respect other BDB versions in devel/kdevelop
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 11 18:50:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     kay.abendroth@raxion.net
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:


System: FreeBSD 6.2-STABLE #0: Tue Mar  6 23:58:41 CET 2007
    root@halo:/usr/obj/usr/src/sys/HALO



>Description:


Currently devel/kdevelop and devel/kdesdk3 only work with BDB41 and not BDB41+, which is annoying for users which have for example BDB44 installed for use with subversion and don't want to have 2 or 3 different version of this database installed. kdevelop and kdesdk also work with higher versions, so this shouldn't be a problem.


>How-To-Repeat:





>Fix:


--- kdevelop.bdb.patch begins here ---
diff -ru ports/devel/kdevelop.orig/Makefile ports/devel/kdevelop/Makefile
--- ports/devel/kdevelop.orig/Makefile	Tue Dec 19 22:19:16 2006
+++ ports/devel/kdevelop/Makefile	Sun Mar 11 14:58:01 2007
@@ -18,8 +18,7 @@
 
 BUILD_DEPENDS=	cervisia:${PORTSDIR}/devel/kdesdk3 \
 		msgfmt:${PORTSDIR}/devel/gettext
-LIB_DEPENDS=	db4:${PORTSDIR}/databases/db4 \
-		svn_client-1.0:${PORTSDIR}/devel/subversion
+LIB_DEPENDS=	svn_client-1.0:${PORTSDIR}/devel/subversion
 RUN_DEPENDS=	extractrc:${PORTSDIR}/devel/kdesdk3 \
 		gmake:${PORTSDIR}/devel/gmake \
 		${LOCALBASE}/gnu-autotools/bin/automake:${PORTSDIR}/devel/gnu-automake \
@@ -39,9 +38,10 @@
 USE_BZIP2=	yes
 USE_GMAKE=	yes
 USE_AUTOTOOLS=  libtool:15
+USE_BDB=	yes
 CONFIGURE_ARGS+=--with-qtdoc-dir=${X11BASE}/share/doc/qt/html \
-		--with-db-includedir=${LOCALBASE}/include/db4 \
-		--with-db-libdir=${LOCALBASE}/lib --with-db-lib=db4 \
+		--with-db-includedir=${BDB_INCLUDE_DIR} \
+		--with-db-libdir=${LOCALBASE}/lib --with-db-lib=${BDB_LIB_NAME} \
 		--with-apr-config=${LOCALBASE}/bin/apr-1-config \
 		--with-apu-config=${LOCALBASE}/bin/apu-1-config \
 		--with-subversion-dir=${LOCALBASE} \
--- kdevelop.bdb.patch ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1173637708.99437>