Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/hivex/
Date: Sun, 31 May 2020 09:44:21
Message-Id: 1590918249.4ecdcc89132e0612d3b639606baf67bc7eb995cb.mgorny@gentoo
1 commit: 4ecdcc89132e0612d3b639606baf67bc7eb995cb
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 18 14:58:24 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun May 31 09:44:09 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ecdcc89
7
8 app-misc/hivex: fix build with USE=-python
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Closes: https://bugs.gentoo.org/715374
12 Signed-off-by: Gilles Dartiguelongue <eva <AT> gentoo.org>
13 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
14
15 app-misc/hivex/hivex-1.3.18.ebuild | 4 +++-
16 1 file changed, 3 insertions(+), 1 deletion(-)
17
18 diff --git a/app-misc/hivex/hivex-1.3.18.ebuild b/app-misc/hivex/hivex-1.3.18.ebuild
19 index d50454845f2..da2e2b6fae0 100644
20 --- a/app-misc/hivex/hivex-1.3.18.ebuild
21 +++ b/app-misc/hivex/hivex-1.3.18.ebuild
22 @@ -96,7 +96,9 @@ src_install() {
23 strip-linguas -i po
24
25 emake install DESTDIR="${ED}" "LINGUAS=""${LINGUAS}"""
26 - python_optimize
27 + if use python; then
28 + python_optimize
29 + fi
30
31 ruby-ng_src_install