Guys, please stabilize =sys-process/htop-1.0.1-r1. Actually -r1 just got some minor enhancements so I guess most arches don't need to do too much testing. <snip> pkg_setup() { - if use elibc_FreeBSD && ! [[ -f ${ROOT}/proc/stat && -f ${ROOT}/proc/meminfo ]]; then + if use kernel_FreeBSD && ! [[ -f ${ROOT}/compat/linux/proc/stat && -f ${ROOT}/compat/linux/proc/meminfo ]]; then eerror - eerror "htop needs /proc mounted to compile and work, to mount it type" - eerror "mount -t linprocfs none /proc" - eerror "or uncomment the example in /etc/fstab" + 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" eerror - die "htop needs /proc mounted" + die "htop needs /compat/linux/proc mounted" fi if ! has_version sys-process/lsof; then @@ -45,10 +47,15 @@ src_prepare() { src_configure() { [[ $CBUILD != $CHOST ]] && export ac_cv_file__proc_{meminfo,stat}=yes #328971 + myconf='' + + use kernel_FreeBSD && myconf="${myconf} --with-proc=/compat/linux/proc" + econf \ $(use_enable openvz) \ $(use_enable kernel_linux cgroup) \ $(use_enable vserver) \ $(use_enable unicode) \ - --enable-taskstats + --enable-taskstats \ + ${myconf} } </snip>
amd64 tested ok
amd64: pass NB: repoman complains sys-process/htop/htop-1.0.1-r1.ebuild: no function called from autotools.eclass; please drop
stable arm ppc ppc64
x86 ok (repoman mostly ok: see Comment 2, compiles ok, usage test ok)
amd64 done. Thanks Elijah and Jean-Pierre de la Croix
Stable for HPPA.
x86 ok ( build ok, test ok, run ok ) repomen was mention
x86 stable
alpha/ia64/sh/sparc stable