Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/htop/
Date: Mon, 07 Mar 2016 15:10:02
Message-Id: 1457363387.780a68f46db7f04dabe5b2f931261a9e304aa126.polynomial-c@gentoo
1 commit: 780a68f46db7f04dabe5b2f931261a9e304aa126
2 Author: vthriller <unixway.drive+git <AT> gmail <DOT> com>
3 AuthorDate: Thu Feb 11 15:59:05 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 7 15:09:47 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=780a68f4
7
8 sys-process/htop: from version 2 onwards, FreeBSD is supported natively
9
10 sys-process/htop/htop-2.0.0-r1.ebuild | 13 -------------
11 1 file changed, 13 deletions(-)
12
13 diff --git a/sys-process/htop/htop-2.0.0-r1.ebuild b/sys-process/htop/htop-2.0.0-r1.ebuild
14 index f7224ea..e589b84 100644
15 --- a/sys-process/htop/htop-2.0.0-r1.ebuild
16 +++ b/sys-process/htop/htop-2.0.0-r1.ebuild
17 @@ -29,17 +29,6 @@ PATCHES=(
18 )
19
20 pkg_setup() {
21 - if use kernel_FreeBSD && ! [[ -f ${ROOT}/compat/linux/proc/stat && -f ${ROOT}/compat/linux/proc/meminfo ]]; then
22 - echo
23 - eerror "htop requires linprocfs mounted at /compat/linux/proc to build and function."
24 - eerror "To mount it, type:"
25 - [ -d /compat/linux/proc ] || eerror "mkdir -p /compat/linux/proc"
26 - eerror "mount -t linprocfs none /compat/linux/proc"
27 - eerror "Alternatively, place this information into /etc/fstab"
28 - echo
29 - die "htop needs /compat/linux/proc mounted"
30 - fi
31 -
32 if ! has_version sys-process/lsof; then
33 ewarn "To use lsof features in htop(what processes are accessing"
34 ewarn "what files), you must have sys-process/lsof installed."
35 @@ -60,8 +49,6 @@ src_configure() {
36
37 local myeconfargs=()
38
39 - use kernel_FreeBSD && myeconfargs+=( --with-proc=/compat/linux/proc )
40 -
41 myeconfargs+=(
42 # fails to build against recent hwloc versions
43 --disable-hwloc