commit:     e1183b79bd06296206a6b0d31b56fb47bbfae0bd
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 13 10:55:03 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Oct 13 10:55:07 2016 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=e1183b79

kde-frameworks/kpty: ensure utempter is found

Upstream switched from using libutempter to calling the utempter binary
directly. Gentoo installs this binary to a path that kpty does not check, so
its location must be specified explicitly.

Gentoo-bug: 596846
Upstream-commit: 65a688be0b2deaf58414e1f19601a15554beb143

Package-Manager: portage-2.3.2

 kde-frameworks/kpty/kpty-9999.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/kde-frameworks/kpty/kpty-9999.ebuild 
b/kde-frameworks/kpty/kpty-9999.ebuild
index 96ccb6e..56b1a2f 100644
--- a/kde-frameworks/kpty/kpty-9999.ebuild
+++ b/kde-frameworks/kpty/kpty-9999.ebuild
@@ -17,3 +17,11 @@ DEPEND="
        sys-libs/libutempter
 "
 RDEPEND="${DEPEND}"
+
+src_configure() {
+       local mycmakeargs=(
+               -DUTEMPTER_EXECUTABLE=/usr/sbin/utempter
+       )
+
+       kde5_src_configure
+}

Reply via email to