debian: Disable perl package.

Message ID 20200608163519.45232-1-stefan.schantl@ipfire.org
State Accepted
Commit f9b76c9de5431422f5efb2816528680d080761c2
Headers
Series debian: Disable perl package. |

Commit Message

Stefan Schantl June 8, 2020, 4:35 p.m. UTC
  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@ipfire.org>
---
 Makefile.am    |  1 -
 debian/control | 11 -----------
 debian/rules   |  3 +++
 3 files changed, 3 insertions(+), 12 deletions(-)
  

Comments

Michael Tremer June 9, 2020, 12:19 p.m. UTC | #1
Thank you. Merged :)

> On 8 Jun 2020, at 17:35, Stefan Schantl <stefan.schantl@ipfire.org> wrote:
> 
> 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@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
>
  

Patch

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