From 9d938dc7549a99a9a266434a9f956d64a205778d Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Tue, 4 Jun 2024 23:33:16 -0400 Subject: 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 Signed-off-by: Sam James --- app-editors/pluma-plugins/pluma-plugins-1.26.0-r2.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'app-editors') 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/" -- cgit v1.2.3-65-gdbad