X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=debian%2Frules;h=f3532ed877ad86f8d1dad63f78af42d50a10e308;hb=4294add55dac1324509356e6bd571716899e5544;hp=d3ed2ca781bd9f86109caa88e0df842c43cb1184;hpb=6dad4d589f13ba9b871e296faf55b0f98fed9eb3;p=nfs-utils.git diff --git a/debian/rules b/debian/rules index d3ed2ca..f3532ed 100755 --- a/debian/rules +++ b/debian/rules @@ -3,15 +3,23 @@ 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 - ./configure \ +ifeq ($(DEB_HOST_ARCH),ia64) + patch -p1 < debian/bzero.patch +endif + CFLAGS="-g -Wall" ./configure \ --mandir='$${prefix}/share/man' \ - --enable-secure-statd + --enable-secure-statd $(MAKE) touch build-stamp