diff options
Diffstat (limited to 'dev-libs/soprano/soprano-9999.ebuild')
| -rw-r--r-- | dev-libs/soprano/soprano-9999.ebuild | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/dev-libs/soprano/soprano-9999.ebuild b/dev-libs/soprano/soprano-9999.ebuild index a47b2af6449..bc253590b4a 100644 --- a/dev-libs/soprano/soprano-9999.ebuild +++ b/dev-libs/soprano/soprano-9999.ebuild @@ -15,7 +15,7 @@ LICENSE="LGPL-2" KEYWORDS="" SLOT="0" # virtuoso disabled for now -IUSE="+clucene +dbus debug doc elibc_FreeBSD java +raptor +redland" +IUSE="+clucene +dbus debug doc elibc_FreeBSD +java +raptor redland" COMMON_DEPEND=" x11-libs/qt-core:4 @@ -41,17 +41,28 @@ CMAKE_IN_SOURCE_BUILD="1" pkg_setup() { java-pkg-opt-2_pkg_setup - if [[ -z $I_KNOW_WHAT_I_AM_DOING ]]; then + + if [[ ${PV} = *9999* && -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" + + if ! use java; then + if ! use redland; then + echo + 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 "java (recommended), redland" + echo + else + echo + ewarn "You selected redland as default backend for soprano." + ewarn "Be advised that it's known to be broken (bug #275326)." + echo + fi fi } |
