summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild')
-rw-r--r--sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild b/sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild
index b1b0bbb9fb4..56bdc804edc 100644
--- a/sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild
+++ b/sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild
@@ -70,5 +70,5 @@ src_install() {
# need to byte-compile 'XdmfCore.py' and 'Xdmf.py'
# as the CMake build system does not compile them itself
- python_optimize "${D%/}$(python_get_sitedir)"
+ use python && python_optimize "${D%/}$(python_get_sitedir)"
}