Source: libbtbb
Version: 2017.03.R2-1
Tags: patch
User: [email protected]
Usertags: rebootstrap

Please demote the libbtbb build dependency to Build-Depends-Indep. It is
only used for building an Architecture: all package and thus can be
demoted easily. The dependency hurts cross compilation, because python
cannot be installed for foreign architectures. Please consider applying
the attached patch.

Helmut
diff --minimal -Nru libbtbb-2017.03.R2/debian/changelog 
libbtbb-2017.03.R2/debian/changelog
--- libbtbb-2017.03.R2/debian/changelog 2017-07-13 23:01:29.000000000 +0200
+++ libbtbb-2017.03.R2/debian/changelog 2018-03-23 16:19:15.000000000 +0100
@@ -1,3 +1,10 @@
+libbtbb (2017.03.R2-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Demote python-all-dev to Build-Depends-Indep. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Fri, 23 Mar 2018 16:19:15 +0100
+
 libbtbb (2017.03.R2-1) unstable; urgency=low
 
   * Upload to unstable 
diff --minimal -Nru libbtbb-2017.03.R2/debian/control 
libbtbb-2017.03.R2/debian/control
--- libbtbb-2017.03.R2/debian/control   2017-07-13 23:01:18.000000000 +0200
+++ libbtbb-2017.03.R2/debian/control   2018-03-23 16:19:09.000000000 +0100
@@ -4,8 +4,8 @@
 Maintainer: Ruben Undheim <[email protected]>
 Build-Depends: debhelper (>= 9),
                libpcap-dev,
-               python-all-dev,
                cmake
+Build-Depends-Indep: python-all-dev
 Standards-Version: 4.0.0
 Vcs-Git: https://github.com/rubund/debian-libbtbb.git
 Vcs-Browser: https://github.com/rubund/debian-libbtbb/tree/master
diff --minimal -Nru libbtbb-2017.03.R2/debian/rules 
libbtbb-2017.03.R2/debian/rules
--- libbtbb-2017.03.R2/debian/rules     2017-03-15 14:30:07.000000000 +0100
+++ libbtbb-2017.03.R2/debian/rules     2018-03-23 16:19:15.000000000 +0100
@@ -19,6 +19,7 @@
 
 override_dh_auto_configure:
        dh_auto_configure -- -DLIB_SUFFIX=/$(DEB_HOST_MULTIARCH) \
+               $(if $(filter python-libbtbb-pcapdump,$(shell 
dh_listpackages)),,-DENABLE_PYTHON=OFF)
 
 override_dh_auto_install:
        dh_auto_install

Reply via email to