Source: yaz Version: 4.2.30-4 Tags: upstream patch User: helm...@debian.org Usertags: rebootstrap
yaz fails to cross build from source, because it fails finding GNU TLS with the build architecture pkg-config as only the host architecture version is requested via Build-Depends. After switching configure.ac from AC_PATH_PROG to the proper macro PKG_PROG_PKG_CONFIG, yaz cross builds successfully. Please consider applying the attached patch. Helmut
Index: yaz-4.2.30/configure.ac =================================================================== --- yaz-4.2.30.orig/configure.ac +++ yaz-4.2.30/configure.ac @@ -19,7 +19,9 @@ AC_CHECK_PROGS([TCLSH], [tclsh tclsh8.5 tclsh8.4 tclsh8.3 tclsh8.2], [tclsh]) AC_PROG_INSTALL AM_PROG_LIBTOOL -AC_PATH_PROG([pkgconfigpath],[pkg-config],[NONE]) +PKG_PROG_PKG_CONFIG +pkgconfigpath="$PKG_CONFIG" +test -z "$pkgconfigpath" && pkgconfigpath=NONE dnl YAZ_DOC dnl