diff options
author | Daniel Lange <DLange@git.local> | 2021-01-17 18:07:08 +0100 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2021-01-17 19:10:35 +0100 |
commit | 3985adac5b6b886f3225ee6fb8cba838d1a84b15 (patch) | |
tree | 776dbf9d4b92c718a58275b4c52a9836f23cf169 /debian/rules | |
parent | 46b17a1d917b759bfd0df83490d0a9cc1d01a364 (diff) | |
download | debian_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-x | debian/rules | 8 |
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) |