summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorHiroyuki Yamamoto <yama1066@gmail.com>2009-10-10 18:33:06 -0600
committerLaMont Jones <lamont@debian.org>2009-10-10 18:33:06 -0600
commit64a6b2e1772a9529f2da49ab2919e3de16cdb75f (patch)
treed25e4ef01643ef782de2f08812820b445be432b7 /debian
parent92739cb15ad4e14f2c69252a3cca2885fb7b1e9c (diff)
downloadutil-linux-old-64a6b2e1772a9529f2da49ab2919e3de16cdb75f.tar.gz
drop rdev on hurd
Addresses-Debian-Bug: 547808 Signed-off-by: LaMont Jones <lamont@debian.org>
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules5
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index f0082e90..35f376d2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,7 +32,10 @@ export arch = $(DEB_HOST_ARCH)
version := $(shell sed -e '1{;s|^util-linux (\(.*\))\ .*|\1|;q;}' debian/changelog)
Upstream := $(shell sed 's/^.*(\(.*\)-.*).*/\1/; q' debian/changelog)
-CONFOPTS= --enable-raw --enable-rdev --enable-partx --with-slang
+CONFOPTS= --enable-raw --enable-partx --with-slang
+ifneq ($(DEB_HOST_ARCH_OS),hurd)
+CONFOPTS += --enable-rdev
+endif
ifeq ($(DEB_HOST_ARCH_OS),linux)
CONFOPTS += --with-selinux
endif