summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2020-04-18 16:58:24 +0200
committerMichał Górny <mgorny@gentoo.org>2020-05-31 11:44:09 +0200
commit4ecdcc89132e0612d3b639606baf67bc7eb995cb (patch)
tree611111becbbc166b5e4cfc9024a3e7c431e123e2 /app-misc
parentsys-devel/distcc: Port to py38&39 (diff)
downloadgentoo-4ecdcc89132e0612d3b639606baf67bc7eb995cb.tar.gz
gentoo-4ecdcc89132e0612d3b639606baf67bc7eb995cb.tar.bz2
gentoo-4ecdcc89132e0612d3b639606baf67bc7eb995cb.zip
app-misc/hivex: fix build with USE=-python
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Closes: https://bugs.gentoo.org/715374 Signed-off-by: Gilles Dartiguelongue <eva@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/hivex/hivex-1.3.18.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/app-misc/hivex/hivex-1.3.18.ebuild b/app-misc/hivex/hivex-1.3.18.ebuild
index d50454845f25..da2e2b6fae07 100644
--- a/app-misc/hivex/hivex-1.3.18.ebuild
+++ b/app-misc/hivex/hivex-1.3.18.ebuild
@@ -96,7 +96,9 @@ src_install() {
strip-linguas -i po
emake install DESTDIR="${ED}" "LINGUAS=""${LINGUAS}"""
- python_optimize
+ if use python; then
+ python_optimize
+ fi
ruby-ng_src_install