aboutsummaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2021-01-17 18:07:08 +0100
committerDaniel Lange <DLange@git.local>2021-01-17 19:10:35 +0100
commit3985adac5b6b886f3225ee6fb8cba838d1a84b15 (patch)
tree776dbf9d4b92c718a58275b4c52a9836f23cf169 /debian/rules
parent46b17a1d917b759bfd0df83490d0a9cc1d01a364 (diff)
downloaddebian_htop-3985adac5b6b886f3225ee6fb8cba838d1a84b15.tar.gz
debian_htop-3985adac5b6b886f3225ee6fb8cba838d1a84b15.tar.bz2
debian_htop-3985adac5b6b886f3225ee6fb8cba838d1a84b15.zip
Fix hurd build to actually find /proc(/) and disable sensors for that platform
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules8
1 files changed, 7 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index e561e98..0d95754 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,13 @@ else
--enable-hwloc
endif
+# hurd-i386 can open /proc (nothing there) and /proc/ which works
+ifeq (hurd-i386,$(DEB_TARGET_ARCH))
+ ARCH_DEPENDENT_CONFIGURE_PARAMS+= --with-proc=/proc/
+else
+ ARCH_DEPENDENT_CONFIGURE_PARAMS+= --with-sensors
+endif
+
%:
dh $@
@@ -23,5 +30,4 @@ override_dh_auto_configure:
--enable-vserver \
--enable-cgroup \
--enable-unicode \
- --with-sensors \
$(ARCH_DEPENDENT_CONFIGURE_PARAMS)

© 2014-2024 Faster IT GmbH | imprint | privacy policy