On Sat, Apr 22, 2006 at 11:29:26AM -0500, Peter Samuelson wrote: > > [Jean-Luc Coulon (f5ibh)] > > This doesnt work because $(DEB_HOST_ARCH) is empty. > > The package build fine with dpkg-buildpackage -rfakeroot > > I believe the recommended debian/rules business is: > > DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) > > This sets DEB_HOST_ARCH only if it is not already set. You can do the > same with DEB_BUILD_GNU_ARCH and DEB_HOST_GNU_ARCH (so you can test > them for equality to detect cross-compiling).
dpkg-buildpackage sets them in the environment (whether this is good or not is another matter entirely), so debuild should do the same. Julian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]