From 3985adac5b6b886f3225ee6fb8cba838d1a84b15 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Sun, 17 Jan 2021 18:07:08 +0100 Subject: Fix hurd build to actually find /proc(/) and disable sensors for that platform --- debian/rules | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'debian/rules') 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) -- cgit v1.2.3