summaryrefslogtreecommitdiff
path: root/sysutils/htop
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2016-05-06 16:00:47 +0000
committerfhajny <fhajny@pkgsrc.org>2016-05-06 16:00:47 +0000
commit23148e8c1fb80d482c62346940410fc30f4bab2a (patch)
tree435ec79b3a574e5464c928284bcaee712272b879 /sysutils/htop
parentddd88c48568ca37e90f1e66691fec949b604c9a6 (diff)
downloadpkgsrc-23148e8c1fb80d482c62346940410fc30f4bab2a.tar.gz
Restore SmartOS support. Bump PKGREVISION.
Diffstat (limited to 'sysutils/htop')
-rw-r--r--sysutils/htop/Makefile5
-rw-r--r--sysutils/htop/distinfo4
-rw-r--r--sysutils/htop/patches/patch-configure.ac12
3 files changed, 13 insertions, 8 deletions
diff --git a/sysutils/htop/Makefile b/sysutils/htop/Makefile
index e40598a9b14..4ce1e9b9178 100644
--- a/sysutils/htop/Makefile
+++ b/sysutils/htop/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.11 2016/05/06 09:04:17 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2016/05/06 16:00:47 fhajny Exp $
DISTNAME= htop-2.0.1
+PKGREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= http://hisham.hm/htop/releases/2.0.1/
+MASTER_SITES= http://hisham.hm/htop/releases/${PKGVERSION_NOREV}/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://hisham.hm/htop/
diff --git a/sysutils/htop/distinfo b/sysutils/htop/distinfo
index 52bb76492a2..95e74d54469 100644
--- a/sysutils/htop/distinfo
+++ b/sysutils/htop/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.7 2016/05/06 09:04:17 wiz Exp $
+$NetBSD: distinfo,v 1.8 2016/05/06 16:00:47 fhajny Exp $
SHA1 (htop-2.0.1.tar.gz) = ef9adab68b0218a16936c306f635e7fce227b7e6
RMD160 (htop-2.0.1.tar.gz) = e9dbf292c7edd7eb67f694c0df281c2c4d27a003
SHA512 (htop-2.0.1.tar.gz) = 57991a55b69028c01549b067ec749099466df5b08a0ed9a65dd779e6d2c8ee0a5d9c330bb6c727b04a349146ad441b7115718e433d1f8232f74b28903fb351ff
Size (htop-2.0.1.tar.gz) = 477196 bytes
-SHA1 (patch-configure.ac) = 169bb4b46fc3e419f8e4bb3faee33ec706724908
+SHA1 (patch-configure.ac) = 0e3cfeb585b8c0b30a28b611d90ed7e5efa57d20
diff --git a/sysutils/htop/patches/patch-configure.ac b/sysutils/htop/patches/patch-configure.ac
index 6e4908ed166..4f142b6731a 100644
--- a/sysutils/htop/patches/patch-configure.ac
+++ b/sysutils/htop/patches/patch-configure.ac
@@ -1,20 +1,23 @@
-$NetBSD: patch-configure.ac,v 1.3 2016/05/06 09:04:17 wiz Exp $
+$NetBSD: patch-configure.ac,v 1.4 2016/05/06 16:00:47 fhajny Exp $
Add minimal NetBSD support.
--- configure.ac.orig 2016-03-07 21:12:25.000000000 +0000
+++ configure.ac
-@@ -39,6 +39,9 @@ case "$target" in
+@@ -39,6 +39,12 @@ case "$target" in
*darwin*)
my_htop_platform=darwin
;;
+*netbsd*)
+ my_htop_platform=linux
+ ;;
++*solaris*)
++ my_htop_platform=linux
++ ;;
*)
my_htop_platform=unsupported
;;
-@@ -211,6 +214,10 @@ if test "$my_htop_platform" = "openbsd";
+@@ -211,6 +217,10 @@ if test "$my_htop_platform" = "openbsd";
AC_CHECK_LIB([kvm], [kvm_open], [], [missing_libraries="$missing_libraries libkvm"])
fi
@@ -25,11 +28,12 @@ Add minimal NetBSD support.
AC_ARG_ENABLE(linux_affinity, [AC_HELP_STRING([--enable-linux-affinity], [enable Linux sched_setaffinity and sched_getaffinity for affinity support, disables hwloc])], ,enable_linux_affinity="yes")
if test "x$enable_linux_affinity" = xyes -a "x$cross_compiling" = xno; then
AC_MSG_CHECKING([for usable sched_setaffinity])
-@@ -256,6 +263,7 @@ AM_CONDITIONAL([HTOP_LINUX], [test "$my_
+@@ -256,6 +266,8 @@ AM_CONDITIONAL([HTOP_LINUX], [test "$my_
AM_CONDITIONAL([HTOP_FREEBSD], [test "$my_htop_platform" = freebsd])
AM_CONDITIONAL([HTOP_OPENBSD], [test "$my_htop_platform" = openbsd])
AM_CONDITIONAL([HTOP_DARWIN], [test "$my_htop_platform" = darwin])
+AM_CONDITIONAL([HTOP_NETBSD], [test "$my_htop_platform" = netbsd])
++AM_CONDITIONAL([HTOP_SOLARIS], [test "$my_htop_platform" = solaris])
AM_CONDITIONAL([HTOP_UNSUPPORTED], [test "$my_htop_platform" = unsupported])
AC_SUBST(my_htop_platform)
AC_CONFIG_FILES([Makefile htop.1])