Index: htop/Makefile @@ -16,6 +16,8 @@ GNU_CONFIGURE= yes USE_GMAKE= yes +USE_AUTOTOOLS= autoconf:259 +CONFIGURE_ARGS+= --with-proc=/compat/linux/proc MAN1= htop.1 Index: htop/files/patch-configure.ac @@ -0,0 +1,10 @@ +Index: configure.ac +@@ -54,6 +54,8 @@ + + if test -n "$withval"; then + AC_DEFINE_UNQUOTED(PROCDIR, "$withval", [Path of proc filesystem]) ++ AC_DEFINE_UNQUOTED(PROCSTATFILE, "$withval/stat", [Path of proc/stat]) ++ AC_DEFINE_UNQUOTED(PROCMEMINFOFILE, "$withval/meminfo", [Path of proc/meminfo]) + PROCDIR="$withval" + fi, + AC_DEFINE(PROCDIR, "/proc", [Path of proc filesystem]))