Control: notfixed 990912 1:804.035-1
Control: tags 990912 +patch

The updates to debian/rules left the direct call to Makefile.PL with
arguments, followed by dh_auto_configure without arguments (which then
re-runs Makefile.PL without arguments, overwriting the effects of the
first call. Thus, the reproducible builds fix was ineffective, and the
other arguments passed are effectively ignored.

The attached patch fixes this by passing the arguments to
dh_auto_configure instead of Makefile.PL directly.


Applying this patch should make perl-tk reproducible on
tests.reproducible-builds.org again!


Thanks for maintaining perl-tk!


live well,
  vagrant
From 10432710416708c7f15a98dff3e2bca5e9549f7f Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Wed, 26 Jan 2022 05:56:39 +0000
Subject: [PATCH] debian/rules: Pass arguments to dh_auto_configure instead of
 calling Makefile.PL directly.

---
 debian/rules | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 10d019e..5fe76d2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,8 +18,7 @@ override_dh_auto_clean:
 	dh_auto_clean
 
 override_dh_auto_configure:
-	$(PERL) Makefile.PL XFT=1 INSTALLDIRS=vendor X11LIB=/usr/lib/$(DEB_HOST_MULTIARCH) PERL=$(PERL)
-	dh_auto_configure
+	dh_auto_configure -- XFT=1 INSTALLDIRS=vendor X11LIB=/usr/lib/$(DEB_HOST_MULTIARCH) PERL=$(PERL)
 
 
 override_dh_auto_build:
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature

Reply via email to