commit:     9d938dc7549a99a9a266434a9f956d64a205778d
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Wed Jun  5 03:33:16 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun  6 00:44:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d938dc7

app-editors/pluma-plugins: fix configure failure to respect USE=python

There is a ./configure --enable-python but it was not passed. As a
result it automagically detected python (and always succeeded since core
distro tooling requires one).

Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-editors/pluma-plugins/pluma-plugins-1.26.0-r2.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/app-editors/pluma-plugins/pluma-plugins-1.26.0-r2.ebuild 
b/app-editors/pluma-plugins/pluma-plugins-1.26.0-r2.ebuild
index bdfab472e753..0c6a11fbb5eb 100644
--- a/app-editors/pluma-plugins/pluma-plugins-1.26.0-r2.ebuild
+++ b/app-editors/pluma-plugins/pluma-plugins-1.26.0-r2.ebuild
@@ -65,6 +65,14 @@ pkg_setup() {
        use python && python-single-r1_pkg_setup
 }
 
+src_configure() {
+       local myeconfargs=(
+               $(use_enable python)
+       )
+
+       econf "${myeconfargs[@]}"
+}
+
 src_install() {
        mate_src_install
        use python && python_optimize "${ED}/usr/$(get_libdir)/gedit/plugins/"

Reply via email to