summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-process/htop/htop-2.1.0-r1.ebuild')
-rw-r--r--sys-process/htop/htop-2.1.0-r1.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-process/htop/htop-2.1.0-r1.ebuild b/sys-process/htop/htop-2.1.0-r1.ebuild
index a6d93f24ee22..14a9ecd0dfb1 100644
--- a/sys-process/htop/htop-2.1.0-r1.ebuild
+++ b/sys-process/htop/htop-2.1.0-r1.ebuild
@@ -28,7 +28,6 @@ DOCS=( ChangeLog README )
CONFIG_CHECK="~TASKSTATS ~TASK_XACCT ~TASK_IO_ACCOUNTING ~CGROUPS"
PATCHES=(
- "${FILESDIR}/${PN}-2.1.0-MakeHeader-python3.patch" #646880
# Fixes from upstream (can usually be removed with next version bump)
"${FILESDIR}/${P}-sysmacros.patch"
@@ -54,6 +53,8 @@ src_prepare() {
rm missing || die
default
+ use python_single_target_python2_7 || \
+ eapply "${FILESDIR}/${PN}-2.1.0-MakeHeader-python3.patch" #646880
eautoreconf
python_fix_shebang scripts/MakeHeader.py
}