sys-process/htop: from version 2 onwards, FreeBSD is supported natively
authorvthriller <unixway.drive+git@gmail.com>
Thu, 11 Feb 2016 15:59:05 +0000 (18:59 +0300)
committerLars Wendler <polynomial-c@gentoo.org>
Mon, 7 Mar 2016 15:09:47 +0000 (16:09 +0100)
sys-process/htop/htop-2.0.0-r1.ebuild

index f7224ea0f5e1fc236e569be69901a198207d391e..e589b8443cc0f655e715da4654b3c7ee2700c4c6 100644 (file)
@@ -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