summaryrefslogtreecommitdiff
path: root/debian/rules
blob: eaea0cd29aa29367b78f3ddd24e28ecc55ba0b6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

confopts := \
	--disable-makeinstall-chown

ifeq (illumos,$(DEB_HOST_ARCH_OS))
	confopts += \
		--prefix=/usr \
		--bindir=/usr/bin \
		--sbindir=/usr/sbin \
		--disable-cramfs \
		--disable-fallocate \
		--disable-fsck \
		--disable-kill \
		--disable-losetup \
		--disable-mount \
		--disable-mountpoint \
		--disable-partx \
		--disable-pivot_root \
		--disable-switch_root \
		--disable-unshare \
		--disable-wall \
		--without-udev \

endif

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- $(confopts)