dev-util/perf: fix install with python disabled
authorMike Gilbert <floppym@gentoo.org>
Sun, 29 Dec 2019 23:31:30 +0000 (18:31 -0500)
committerMike Gilbert <floppym@gentoo.org>
Sun, 29 Dec 2019 23:31:50 +0000 (18:31 -0500)
Closes: https://bugs.gentoo.org/703938
Package-Manager: Portage-2.3.82, Repoman-2.3.20_p9
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
dev-util/perf/perf-5.4.6.ebuild

index 8fb6d46686915933805894a5cd27dc514cacc449..caa91f6849de95b26e8cd8da2b868f62c4770b19 100644 (file)
@@ -217,7 +217,7 @@ src_install() {
        }
 
        perf_make -f Makefile.perf install DESTDIR="${D}"
-       if python; then
+       if use python; then
                python_foreach_impl _install_python_ext
        fi