Source: libvmime
Version: 0.9.1-2
Tags: patch
I think you need to apply something like the attached patch. However,
you should probably read https://wiki.debian.org/Autoreconf yourself.
With the patch it built on arm64 for me. It wasn't in a fresh chroot,
but you already build-depend on autotools-dev.
diff -ru libvmime-0.9.1.orig/debian/rules libvmime-0.9.1/debian/rules
--- libvmime-0.9.1.orig/debian/rules 2015-05-18 19:45:40.000000000 +0000
+++ libvmime-0.9.1/debian/rules 2015-05-29 18:18:42.200000000 +0000
@@ -46,6 +46,7 @@
endif
# Add here commands to configure the package.
+ dh_autotools-dev_updateconfig
CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
@@ -71,6 +72,7 @@
rm -f Makefile src/Makefile vmime/Makefile vmime/config.hpp build-stamp libtool config.guess config.log config.sub config.status config.h vmime.pc stamp-h1
cd src ; rm -f `find . -type l`
+ dh_autotools-dev_restoreconfig
dh_clean
install: build