=== modified file 'debian/rules' --- debian/rules 2010-04-14 13:20:05 +0000 +++ debian/rules 2011-03-22 07:07:38 +0000 @@ -13,6 +13,12 @@ DEB_CONFIGURE_USER_FLAGS = --with-db-dir=/var/lib/shishi DEB_CONFIGURE_EXTRA_FLAGS = --with-packager=Debian --with-packager-version=$(DEB_VERSION) --with-packager-bug-reports=http://bugs.debian.org/ +ifneq ($(cdbs_crossbuild),) + # Overrride system directories + DEB_CONFIGURE_EXTRA_FLAGS = --with-libgcrypt-prefix=/usr/$(DEB_HOST_GNU_TYPE) +endif + + DEB_MAKE_CHECK_TARGET = check DEB_COMPRESS_EXCLUDE := shishi.pdf