+kftgt (1.12-2) unstable; urgency=low
+
+ * Explicitly pass the system type to configure always.
+
+ --
+
kftgt (1.12-1) unstable; urgency=low
* New upstream release.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+# Tell Autoconf the correct system types.
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+ SYSTEM = --build $(DEB_HOST_GNU_TYPE)
+else
+ SYSTEM = --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+endif
+
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
build-indep:
build-stamp:
dh_testdir
- CFLAGS="$(CFLAGS)" ./configure --prefix=/usr \
+ CFLAGS="$(CFLAGS)" ./configure $(SYSTEM) --prefix=/usr \
--mandir=\$${prefix}/share/man --enable-reduced-depends
$(MAKE)
touch build-stamp