commit:     02c6b97ab60f971b82f456be7186160fd2d93ebb
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  8 17:21:38 2023 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Apr  8 17:23:09 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02c6b97a

dev-vcs/subversion: Hardwire kf5 paths, drop kdelibs4support dep

No patches needed, configure arguments work

Closes: https://bugs.gentoo.org/759793
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 dev-vcs/subversion/subversion-1.14.2-r1.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-vcs/subversion/subversion-1.14.2-r1.ebuild 
b/dev-vcs/subversion/subversion-1.14.2-r1.ebuild
index 863ce516964b..b5d43cf56b8c 100644
--- a/dev-vcs/subversion/subversion-1.14.2-r1.ebuild
+++ b/dev-vcs/subversion/subversion-1.14.2-r1.ebuild
@@ -78,7 +78,6 @@ BDEPEND="
        virtual/pkgconfig
        !!<sys-apps/sandbox-1.6
        doc? ( app-doc/doxygen )
-       kwallet? ( kde-frameworks/kdelibs4support:5 )
        nls? ( sys-devel/gettext )
        perl? ( dev-lang/swig )
        ruby? ( dev-lang/swig )
@@ -185,7 +184,6 @@ src_configure() {
                $(use_with gnome-keyring)
                $(use_enable java javahl)
                $(use_with java jdk "${JAVA_HOME}")
-               $(use_with kwallet)
                $(use_enable nls)
                $(use_enable plaintext-password-storage)
                $(use_with sasl)
@@ -199,6 +197,12 @@ src_configure() {
                --enable-svnxx
        )
 
+       if use kwallet ; then
+               myconf+=( "--with-kwallet=/usr/include/:/usr/$(get_libdir)/" )
+       else
+               myconf+=( --without-kwallet )
+       fi
+
        if use perl || use ruby; then
                myconf+=( --with-swig )
        else

Reply via email to