Source: converseen
Version: 0.9.7.2-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

converseen fails to cross build from source, because it does not pass
cross flags to cmake. Using dh_auto_configure fixes that. The attached
patch implements that and slightly simplifies debian/rules. Please
consider applying it.

Helmut
diff --minimal -Nru converseen-0.9.7.2/debian/changelog 
converseen-0.9.7.2/debian/changelog
--- converseen-0.9.7.2/debian/changelog 2018-10-25 00:46:34.000000000 +0200
+++ converseen-0.9.7.2/debian/changelog 2018-11-12 16:00:10.000000000 +0100
@@ -1,3 +1,10 @@
+converseen (0.9.7.2-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_* work correctly. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 12 Nov 2018 16:00:10 +0100
+
 converseen (0.9.7.2-1) unstable; urgency=medium
 
   * New upstream release.
diff --minimal -Nru converseen-0.9.7.2/debian/rules 
converseen-0.9.7.2/debian/rules
--- converseen-0.9.7.2/debian/rules     2016-10-24 17:57:09.000000000 +0200
+++ converseen-0.9.7.2/debian/rules     2018-11-12 16:00:10.000000000 +0100
@@ -1,28 +1,3 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-BUILDDIR=$(CURDIR)/build/
-DESTDIR=$(CURDIR)/debian/converseen/
-
-override_dh_clean:
-       dh_clean
-       rm -rf $(BUILDDIR)
-
-override_dh_auto_configure:
-       [ -d $(BUILDDIR) ] || mkdir $(BUILDDIR)
-       cd $(BUILDDIR) && cmake ../ -DCMAKE_INSTALL_PREFIX=$(DESTDIR)/usr/
-
-override_dh_auto_build:
-       cd $(BUILDDIR) && $(MAKE)
-
-override_dh_auto_install:
-       dh_auto_install
-       cd $(BUILDDIR) && $(MAKE) install 
-
 %:
-       dh $@ 
-
-.PHONY: override_dh_auto_configure override_dh_auto_install
+       dh $@

Reply via email to