summaryrefslogtreecommitdiff
path: root/dev-libs/soprano/soprano-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/soprano/soprano-9999.ebuild')
-rw-r--r--dev-libs/soprano/soprano-9999.ebuild32
1 files changed, 18 insertions, 14 deletions
diff --git a/dev-libs/soprano/soprano-9999.ebuild b/dev-libs/soprano/soprano-9999.ebuild
index deb32d2d0ab..9e5438423ce 100644
--- a/dev-libs/soprano/soprano-9999.ebuild
+++ b/dev-libs/soprano/soprano-9999.ebuild
@@ -27,28 +27,31 @@ COMMON_DEPEND="
>=dev-libs/redland-1.0.6
)
java? ( >=virtual/jdk-1.6.0 )
- virtuoso? ( dev-db/libiodbc )
"
+# virtuoso? ( dev-db/libiodbc )
+
DEPEND="${COMMON_DEPEND}
doc? ( app-doc/doxygen )
"
RDEPEND="${COMMON_DEPEND}
- virtuoso? ( dev-db/virtuoso )
"
+# virtuoso? ( dev-db/virtuoso )
CMAKE_IN_SOURCE_BUILD="1"
pkg_setup() {
java-pkg-opt-2_pkg_setup
- echo
- 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 java && ! use virtuoso ; then
+ if [[ -z $I_KNOW_WHAT_I_AM_DOING ]]; then
+ echo
+ 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
+ fi
+ if ! use redland && ! use java ; then # && ! 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, java, virtuoso"
+ ewarn "redland, java" # , virtuoso"
fi
}
@@ -65,12 +68,13 @@ src_configure() {
-DSOPRANO_BUILD_TESTS=OFF
-DCMAKE_SKIP_RPATH=OFF"
- ! use clucene && mycmakeargs="${mycmakeargs} -DSOPRANO_DISABLE_CLUCENE_INDEX=ON"
- ! 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 java && mycmakeargs="${mycmakeargs} -DSOPRANO_DISABLE_SESAME2_BACKEND=ON"
- ! use virtuoso && mycmakeargs="${mycmakeargs} -DSOPRANO_DISABLE_VIRTUOSO_BACKEND=ON"
+ use clucene || mycmakeargs="${mycmakeargs} -DSOPRANO_DISABLE_CLUCENE_INDEX=ON"
+ 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 java || mycmakeargs="${mycmakeargs} -DSOPRANO_DISABLE_SESAME2_BACKEND=ON"
+ #! use virtuoso && mycmakeargs="${mycmakeargs} -DSOPRANO_DISABLE_VIRTUOSO_BACKEND=ON"
+ mycmakeargs="${mycmakeargs} -DSOPRANO_DISABLE_VIRTUOSO_BACKEND=ON"
use doc && mycmakeargs="${mycmakeargs} -DSOPRANO_BUILD_API_DOCS=ON"
cmake-utils_src_configure