Source: tclxml
Version: 1:3.2.7-6
Tags: patch
User: [email protected]
Usertags: ftcbfs

tclxml fails to cross build from source, because it hard codes the build
architecture pkg-config in debian/rules. Please consider applying the
attached patch to make it cross buildable.

Helmut
diff --minimal -Nru tclxml-3.2.7/debian/changelog tclxml-3.2.7/debian/changelog
--- tclxml-3.2.7/debian/changelog       2022-05-31 10:28:54.000000000 +0200
+++ tclxml-3.2.7/debian/changelog       2022-06-02 17:09:58.000000000 +0200
@@ -1,3 +1,10 @@
+tclxml (1:3.2.7-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Use the host architecture pkg-config. Closes: #-1
+
+ -- Helmut Grohne <[email protected]>  Thu, 02 Jun 2022 17:09:58 +0200
+
 tclxml (1:3.2.7-6) unstable; urgency=medium
 
   * Rename bool to boolean since bool is now a type in C. Closes: #1011718
diff --minimal -Nru tclxml-3.2.7/debian/rules tclxml-3.2.7/debian/rules
--- tclxml-3.2.7/debian/rules   2022-05-31 10:27:32.000000000 +0200
+++ tclxml-3.2.7/debian/rules   2022-06-02 17:09:57.000000000 +0200
@@ -3,11 +3,14 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+include /usr/share/dpkg/architecture.mk
+include /usr/share/dpkg/buildtools.mk
+
 %:
        dh $@
 
 override_dh_auto_configure:
-       dh_auto_configure -- --libdir=/usr/lib/tcltk/$(DEB_HOST_MULTIARCH) 
--enable-stubs --with-xml2-config="pkg-config libxml-2.0" 
--with-xslt-config="pkg-config libxslt"
+       dh_auto_configure -- --libdir=/usr/lib/tcltk/$(DEB_HOST_MULTIARCH) 
--enable-stubs --with-xml2-config="$(PKG_CONFIG) libxml-2.0" 
--with-xslt-config="$(PKG_CONFIG) libxslt"
 
 override_dh_auto_test:
        # ignore builtin tests
_______________________________________________
Pkg-tcltk-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-tcltk-devel

Reply via email to