X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=debian%2Frules;h=f3532ed877ad86f8d1dad63f78af42d50a10e308;hb=4fcb78d2abb293b25727fd379f06d3ea91353ab4;hp=6fb05f0f5d863a3a859586a47af1d3e1f259e516;hpb=11e2834381fa3eb7b6ef6420241532896f2900bf;p=nfs-utils.git diff --git a/debian/rules b/debian/rules index 6fb05f0..f3532ed 100755 --- a/debian/rules +++ b/debian/rules @@ -3,12 +3,20 @@ export DH_VERBOSE=1 +DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) +DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) + # Temporary root DEBTMP := $(shell pwd)/debian/tmp build: build-stamp build-stamp: dh_testdir +ifeq ($(DEB_HOST_ARCH),ia64) + patch -p1 < debian/bzero.patch +endif CFLAGS="-g -Wall" ./configure \ --mandir='$${prefix}/share/man' \ --enable-secure-statd