commit:     2fcf0e687d5b44f59a47977d9851f305c8d4854f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  2 22:19:35 2015 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan  2 22:19:35 2015 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=2fcf0e68

app-editors/gedit: Do not reference Python sitedir w/ USE=-python

Fixes bug #531968.

---
 app-editors/gedit/gedit-9999.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-editors/gedit/gedit-9999.ebuild 
b/app-editors/gedit/gedit-9999.ebuild
index b05445f..de14a5a 100644
--- a/app-editors/gedit/gedit-9999.ebuild
+++ b/app-editors/gedit/gedit-9999.ebuild
@@ -112,6 +112,9 @@ src_test() {
 }
 
 src_install() {
+       local args=()
        # manually set pyoverridesdir due to bug #524018 and AM_PATH_PYTHON 
limitations
-       gnome2_src_install pyoverridesdir="$(python_get_sitedir)/gi/overrides"
+       use python && args+=( 
pyoverridesdir="$(python_get_sitedir)/gi/overrides" )
+
+       gnome2_src_install "${args[@]}"
 }

Reply via email to