summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Ružička <jakub.ruzicka@nic.cz>2023-05-03 14:13:21 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2023-08-22 14:59:22 +0200
commit5fb871def46c9fc0d0e02d5bf1f2c8f76c40dc30 (patch)
treee099306486bdf8e322259ef4549adfd56c9e1e69
parent5fe00df693a7a06888d6fba2a967fe0ca04f29ae (diff)
Debian: Fix for arm64 cross build
Mirrors debian patch.
-rw-r--r--distro/pkg/deb/control6
-rwxr-xr-xdistro/pkg/deb/rules3
2 files changed, 4 insertions, 5 deletions
diff --git a/distro/pkg/deb/control b/distro/pkg/deb/control
index 0d4fbac7..638795e2 100644
--- a/distro/pkg/deb/control
+++ b/distro/pkg/deb/control
@@ -8,12 +8,12 @@ Build-Depends: bison,
libncurses-dev,
libreadline-dev | libreadline6-dev | libreadline5-dev,
libssh-gcrypt-dev,
- linuxdoc-tools-latex,
m4,
- opensp,
quilt,
- texlive-latex-extra,
xsltproc
+Build-Depends-Indep: linuxdoc-tools-latex,
+ opensp,
+ texlive-latex-extra
Maintainer: Jakub Ružička <jakub.ruzicka@nic.cz>
Uploaders: Ondřej Surý <ondrej@debian.org>
Standards-Version: 4.6.2
diff --git a/distro/pkg/deb/rules b/distro/pkg/deb/rules
index 59abe35c..1740fb95 100755
--- a/distro/pkg/deb/rules
+++ b/distro/pkg/deb/rules
@@ -23,8 +23,7 @@ LDFLAGS += -g -O2 -fno-strict-aliasing -fno-strict-overflow -fPIC -Wl,-z,defs -W
override_dh_auto_configure:
CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" dh_auto_configure -- $(COMMON_FLAGS) --with-protocols=all
-override_dh_auto_build:
- dh_auto_build
+override_dh_auto_build-indep:
dh_auto_build -- docs
override_dh_auto_install: