diff options
author | cheusov <cheusov@pkgsrc.org> | 2011-12-10 13:28:43 +0000 |
---|---|---|
committer | cheusov <cheusov@pkgsrc.org> | 2011-12-10 13:28:43 +0000 |
commit | aebcb9bde7a83ee8180445b196d4d90d1bb9efbd (patch) | |
tree | 0e0649ca8b264a8f4ea0af285115930905f821a7 | |
parent | b66280d8e43d5bd85c570791a6c4905d8528725f (diff) | |
download | pkgsrc-aebcb9bde7a83ee8180445b196d4d90d1bb9efbd.tar.gz |
Unconditionally pass ac_cv_file__proc_stat=yes and
ac_cv_file__proc_meminfo=yes to "configure" script. As a result htop
will be built regardless of /proc is mounted or not (bulk builds).
Enable htop PR 39881 on NetBSD, Linux and FreeBSD only where
Linux-compatible procfs is available.
-rw-r--r-- | sysutils/htop/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sysutils/htop/Makefile b/sysutils/htop/Makefile index 0993c4c80e8..6fff38924c5 100644 --- a/sysutils/htop/Makefile +++ b/sysutils/htop/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2011/08/06 16:36:41 cheusov Exp $ +# $NetBSD: Makefile,v 1.5 2011/12/10 13:28:43 cheusov Exp $ # DISTNAME= htop-0.9 @@ -18,10 +18,15 @@ USE_NCURSES= yes # uses ncurses mouse definitions USE_TOOLS+= autoreconf autoconf automake USE_LIBTOOL= yes +ONLY_FOR_PLATFORM= Linux-*-* FreeBSD-*-* NetBSD-*-* + +.include "../../mk/bsd.prefs.mk" + +CONFIGURE_ENV+= ac_cv_file__proc_stat=yes ac_cv_file__proc_meminfo=yes + pre-configure: set -e; cd ${WRKSRC}; autoreconf --force --install .include "../../devel/ncurses/buildlink3.mk" .include "../../sysutils/desktop-file-utils/desktopdb.mk" - .include "../../mk/bsd.pkg.mk" |