ports/126410: textproc/redland: fix build when several db* are installed

Max Brazhnikov makc at issp.ac.ru
Sun Aug 10 09:20:01 UTC 2008


>Number:         126410
>Category:       ports
>Synopsis:       textproc/redland: fix build when several db* are installed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 10 09:20:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Max Brazhnikov
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
FreeBSD luna.dio.ru 7.0-STABLE FreeBSD 7.0-STABLE #3: Sat Jul 12 00:03:43 MSD 2008     root at luna.dio.ru:/usr/obj/usr/freebsd/7/src/sys/LUNA  i386
>Description:
1) fix build with db*
2) really disable mysql support when WITH_MYSQL is not defined
3) disable sqlite
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: textproc/redland/Makefile
===================================================================
RCS file: /home/cvs/freebsd/ports/textproc/redland/Makefile,v
retrieving revision 1.32
diff -u -r1.32 Makefile
--- textproc/redland/Makefile	20 Mar 2008 10:03:49 -0000	1.32
+++ textproc/redland/Makefile	10 Aug 2008 09:02:33 -0000
@@ -8,6 +8,7 @@
 
 PORTNAME=	redland
 PORTVERSION=	1.0.7
+PORTREVISION=	1
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
 		http://librdf.org/dist/source/
@@ -19,6 +20,7 @@
 LIB_DEPENDS=	raptor.2:${PORTSDIR}/textproc/raptor
 
 USE_BDB=	yes
+WITH_BDB_HIGHEST=	yes
 INVALID_BDB_VER=2
 USE_GNOME=	gnomehack gnometarget lthack pkgconfig
 USE_OPENSSL=	yes
@@ -30,7 +32,8 @@
 CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 CONFIGURE_ARGS=	--with-raptor=system \
 		--with-rasqal=internal \
-		--with-threestore=no
+		--with-threestore=no \
+		--with-sqlite=no
 
 USE_LDCONFIG=	yes
 USE_PERL5_BUILD=	yes
@@ -48,6 +51,7 @@
 CONFIGURE_ARGS+=--with-mysql=yes
 PLIST_SUB+=	MYSQL=""
 .else
+CONFIGURE_ARGS+=--with-mysql=no
 PLIST_SUB+=	MYSQL="@comment "
 .endif
 


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



More information about the freebsd-ports-bugs mailing list