aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-08-11 00:20:02 +0800
committermiwi <miwi@FreeBSD.org>2008-08-11 00:20:02 +0800
commitfb3dbe721e5534604a24bfb62239ea3964add53c (patch)
tree2d075a49a77820753e7a54076d0c57ae9776c8b0
parentaff37f2d0e34414e0f84d38aca1a9ac1c899941b (diff)
downloadfreebsd-ports-gnome-fb3dbe721e5534604a24bfb62239ea3964add53c.tar.gz
freebsd-ports-gnome-fb3dbe721e5534604a24bfb62239ea3964add53c.tar.zst
freebsd-ports-gnome-fb3dbe721e5534604a24bfb62239ea3964add53c.zip
- Fix build when several db* are installed
- Really disable mysql support when WITH_MYSQL is not defined - Disable sqlite - Bump PORTREVISION PR: 126410 Submitted by: Max Brazhnikov <makc@issp.ac.ru> (with discussion on freenode/#kde-freebsd) Approved by: maintainer
-rw-r--r--textproc/rasqal/Makefile6
-rw-r--r--textproc/redland/Makefile6
2 files changed, 10 insertions, 2 deletions
diff --git a/textproc/rasqal/Makefile b/textproc/rasqal/Makefile
index 4f52d223fec1..0c28c68e0f79 100644
--- a/textproc/rasqal/Makefile
+++ b/textproc/rasqal/Makefile
@@ -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 @@ COMMENT= A high-level interface for RDF
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 @@ LDFLAGS= -L${LOCALBASE}/lib
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 @@ USE_MYSQL= yes
CONFIGURE_ARGS+=--with-mysql=yes
PLIST_SUB+= MYSQL=""
.else
+CONFIGURE_ARGS+=--with-mysql=no
PLIST_SUB+= MYSQL="@comment "
.endif
diff --git a/textproc/redland/Makefile b/textproc/redland/Makefile
index 4f52d223fec1..0c28c68e0f79 100644
--- a/textproc/redland/Makefile
+++ b/textproc/redland/Makefile
@@ -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 @@ COMMENT= A high-level interface for RDF
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 @@ LDFLAGS= -L${LOCALBASE}/lib
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 @@ USE_MYSQL= yes
CONFIGURE_ARGS+=--with-mysql=yes
PLIST_SUB+= MYSQL=""
.else
+CONFIGURE_ARGS+=--with-mysql=no
PLIST_SUB+= MYSQL="@comment "
.endif