Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2007 19:04:39 +0100
From:      "Pawel Pekala" <c0rn@o2.pl>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Cc:        kde@FreeBSD.org
Subject:   ports/109330: [patch] devel/kdesdk3: use BDB framework
Message-ID:  <1171908279.91903@caprica.slowicza.org>
Resent-Message-ID: <200702191840.l1JIe2nL056883@freefall.freebsd.org>

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

>Number:         109330
>Category:       ports
>Synopsis:       [patch] devel/kdesdk3: use BDB framework
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 19 18:40:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Pawel Pekala
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:


System: FreeBSD 6.2-RELEASE #2: Sat Jan 13 12:52:19 CET 2007
    corn@caprica.slowicza.org:/usr/obj/usr/src/sys/GENERIC



>Description:


Define Berkeley Database dependecy using BDB framework from bsd.database.mk.


>How-To-Repeat:





>Fix:


--- kdesdk.diff begins here ---
diff -urN /usr/ports/devel/kdesdk3/Makefile kdesdk3/Makefile
--- /usr/ports/devel/kdesdk3/Makefile	Wed Dec 20 17:14:15 2006
+++ kdesdk3/Makefile	Mon Feb 19 18:58:35 2007
@@ -16,8 +16,7 @@
 COMMENT=	KDE Software Development Kit
 
 RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
-LIB_DEPENDS=	db4:${PORTSDIR}/databases/db4 \
-		svn_client-1.0:${PORTSDIR}/devel/subversion
+LIB_DEPENDS=	svn_client-1.0:${PORTSDIR}/devel/subversion
 
 CONFLICTS=	umbrello-[0-9]* kcachegrind-[0-9]*
 
@@ -27,13 +26,14 @@
 USE_PERL5=	yes
 USE_BZIP2=	yes
 USE_GMAKE=	yes
+USE_BDB=	yes
 USE_AUTOTOOLS=  libtool:15
 
 INSTALLS_SHLIB=	yes
 LDCONFIG_DIRS=	%%PREFIX%%/lib %%PREFIX%%/lib/kde3
 
-CONFIGURE_ARGS+=--with-db-include-dir=${LOCALBASE}/include/db4 \
-		--with-db-lib-dir=${LOCALBASE}/lib --with-db-name=db4 \
+CONFIGURE_ARGS+=--with-db-include-dir=${BDB_INCLUDE_DIR} \
+		--with-db-lib-dir=${BDB_LIB_DIR} --with-db-name=${BDB_LIB_NAME} \
 		--with-apr-config=${LOCALBASE}/bin/apr-1-config \
 		--with-apu-config=${LOCALBASE}/bin/apu-1-config \
 		--with-svn-include=${LOCALBASE}/include \
--- kdesdk.diff ends here ---



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



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