pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/htop Unconditionally pass ac_cv_file__proc_st...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d10ee8b1d160
branches:  trunk
changeset: 596622:d10ee8b1d160
user:      cheusov <cheusov%pkgsrc.org@localhost>
date:      Sat Dec 10 13:28:43 2011 +0000

description:
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.

diffstat:

 sysutils/htop/Makefile |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 49bd6b0c294f -r d10ee8b1d160 sysutils/htop/Makefile
--- a/sysutils/htop/Makefile    Sat Dec 10 13:26:38 2011 +0000
+++ b/sysutils/htop/Makefile    Sat Dec 10 13:28:43 2011 +0000
@@ -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_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"



Home | Main Index | Thread Index | Old Index