[kde-freebsd] [patch] devel/kdesdk3: use BDB framework

Pawel Pekala c0rn at o2.pl
Mon Feb 19 19:04:39 CET 2007


>Submitter-Id:	current-users 
>Originator:	Pawel Pekala 
>Organization:	 
>Confidential:	no 
>Synopsis:	[patch] devel/kdesdk3: use BDB framework 
>Severity:	non-critical 
>Priority:	low 
>Category:	ports 
>Class:		change-request 
>Release:	FreeBSD 6.2-RELEASE i386 
>Environment:


System: FreeBSD 6.2-RELEASE #2: Sat Jan 13 12:52:19 CET 2007
    corn at 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 ---





More information about the kde-freebsd mailing list