The perl package cannot be cross-compiled correctly for other
architectures different from the hosts one.
So currently disable the perl package until we get this fixed at a later
time.
Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
Makefile.am | 1 -
debian/control | 11 -----------
debian/rules | 3 +++
3 files changed, 3 insertions(+), 12 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index c75839c..8cec76d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -441,7 +441,6 @@ EXTRA_DIST += \
debian/copyright \
debian/location.install \
debian/location.manpages \
- debian/location-perl.install \
debian/location-python.install \
debian/libloc0.install \
debian/libloc-dev.install \
diff --git a/debian/control b/debian/control
index c35fa91..2d8d33c 100644
--- a/debian/control
+++ b/debian/control
@@ -83,14 +83,3 @@ Depends:
Multi-Arch: same
Description: Python modules for libloc
This package contains Python bindings for libloc
-
-Package: location-perl
-Architecture: any
-Section: perl
-Depends:
- ${misc:Depends},
- ${perl:Depends},
- ${shlibs:Depends}
-Multi-Arch: same
-Description: Perl bindings for libloc
- This package contains simple perl bindings for libloc
diff --git a/debian/rules b/debian/rules
index dd762a3..4e544d7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,9 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
%:
dh $@ --with python3 --with-systemd
+override_dh_auto_configure:
+ dh_auto_configure -- --disable-perl
+
override_dh_perl:
dh_perl -d
--
2.26.1