commit:     780a68f46db7f04dabe5b2f931261a9e304aa126
Author:     vthriller <unixway.drive+git <AT> gmail <DOT> com>
AuthorDate: Thu Feb 11 15:59:05 2016 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Mar  7 15:09:47 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=780a68f4

sys-process/htop: from version 2 onwards, FreeBSD is supported natively

 sys-process/htop/htop-2.0.0-r1.ebuild | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/sys-process/htop/htop-2.0.0-r1.ebuild 
b/sys-process/htop/htop-2.0.0-r1.ebuild
index f7224ea..e589b84 100644
--- a/sys-process/htop/htop-2.0.0-r1.ebuild
+++ b/sys-process/htop/htop-2.0.0-r1.ebuild
@@ -29,17 +29,6 @@ PATCHES=(
 )
 
 pkg_setup() {
-       if use kernel_FreeBSD && ! [[ -f ${ROOT}/compat/linux/proc/stat && -f 
${ROOT}/compat/linux/proc/meminfo ]]; then
-               echo
-               eerror "htop requires linprocfs mounted at /compat/linux/proc 
to build and function."
-               eerror "To mount it, type:"
-               [ -d /compat/linux/proc ] || eerror "mkdir -p 
/compat/linux/proc"
-               eerror "mount -t linprocfs none /compat/linux/proc"
-               eerror "Alternatively, place this information into /etc/fstab"
-               echo
-               die "htop needs /compat/linux/proc mounted"
-       fi
-
        if ! has_version sys-process/lsof; then
                ewarn "To use lsof features in htop(what processes are 
accessing"
                ewarn "what files), you must have sys-process/lsof installed."
@@ -60,8 +49,6 @@ src_configure() {
 
        local myeconfargs=()
 
-       use kernel_FreeBSD && myeconfargs+=( --with-proc=/compat/linux/proc )
-
        myeconfargs+=(
                # fails to build against recent hwloc versions
                --disable-hwloc

Reply via email to