summaryrefslogtreecommitdiff
path: root/dev-libs/soprano/soprano-9999.ebuild
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-03-05 22:20:51 +0100
committerTomas Chvatal <scarabeus@gentoo.org>2009-03-05 22:20:51 +0100
commit417d48c5a03881b6e12c2b6e4328234f093dfe42 (patch)
tree57a2bf61db2aa9aee66f91fcebe0bae1c6d15ac2 /dev-libs/soprano/soprano-9999.ebuild
parentb920bd7585ae700baa0baf69df3c60970e1e9238 (diff)
downloadkde-417d48c5a03881b6e12c2b6e4328234f093dfe42.tar.gz
kde-417d48c5a03881b6e12c2b6e4328234f093dfe42.tar.bz2
kde-417d48c5a03881b6e12c2b6e4328234f093dfe42.zip
fix the bug better in cmake-utils eclass
Diffstat (limited to 'dev-libs/soprano/soprano-9999.ebuild')
-rw-r--r--dev-libs/soprano/soprano-9999.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/dev-libs/soprano/soprano-9999.ebuild b/dev-libs/soprano/soprano-9999.ebuild
index de2f7b639c3..2417c4b76c8 100644
--- a/dev-libs/soprano/soprano-9999.ebuild
+++ b/dev-libs/soprano/soprano-9999.ebuild
@@ -4,7 +4,7 @@
EAPI="2"
-JAVA_PKG_OPT_USE="sesame2"
+JAVA_PKG_OPT_USE="java"
inherit base cmake-utils flag-o-matic subversion java-pkg-opt-2
DESCRIPTION="Soprano is a library which provides a nice QT interface to RDF storage solutions."
@@ -15,7 +15,7 @@ LICENSE="LGPL-2"
KEYWORDS=""
SLOT="0"
# virtuoso disabled for now
-IUSE="+clucene +dbus debug doc elibc_FreeBSD +raptor +redland sesame2"
+IUSE="+clucene +dbus debug doc elibc_FreeBSD java +raptor +redland"
COMMON_DEPEND="
x11-libs/qt-core:4
@@ -26,7 +26,7 @@ COMMON_DEPEND="
>=dev-libs/rasqal-0.9.15
>=dev-libs/redland-1.0.6
)
- sesame2? ( >=virtual/jdk-1.6.0 )
+ java? ( >=virtual/jdk-1.6.0 )
virtuoso? ( dev-db/libiodbc )
"
DEPEND="${COMMON_DEPEND}
@@ -43,11 +43,11 @@ pkg_setup() {
ewarn "WARNING! This is an experimental ebuild of ${PN} SVN tree. Use at your own risk."
ewarn "Do _NOT_ file bugs at bugs.gentoo.org because of this ebuild!"
echo
- if ! use redland && ! use sesame2; then
+ if ! use redland && ! use sesame2 && ! use virtuoso ; then
ewarn "You explicitly disabled default soprano backend and haven't chosen other one."
ewarn "Applications using soprano may need at least one backend functional."
ewarn "If you experience any problems, enable any of those USE flags:"
- ewarn "redland, sesame2, virtuoso"
+ ewarn "redland, java, virtuoso"
fi
}
@@ -67,7 +67,7 @@ src_configure() {
! use dbus && mycmakeargs="${mycmakeargs} -DSOPRANO_DISABLE_DBUS=ON"
! use raptor && mycmakeargs="${mycmakeargs} -DSOPRANO_DISABLE_RAPTOR_PARSER=ON"
! use redland && mycmakeargs="${mycmakeargs} -DSOPRANO_DISABLE_REDLAND_BACKEND=ON"
- ! use sesame2 && mycmakeargs="${mycmakeargs} -DSOPRANO_DISABLE_SESAME2_BACKEND=ON"
+ ! use java && mycmakeargs="${mycmakeargs} -DSOPRANO_DISABLE_SESAME2_BACKEND=ON"
! use virtuoso && mycmakeargs="${mycmakeargs} -DSOPRANO_DISABLE_VIRTUOSO_BACKEND=ON"
use doc && mycmakeargs="${mycmakeargs} -DSOPRANO_BUILD_API_DOCS=ON"