On Sat, Nov 01, 2014 at 02:41:58PM +0000, Dominic Hargreaves wrote:
> I will propose within Debian that we package up the modified dist
> package and metaconfig units, and include documentation in the perl
> source package about this.

After discussions with Helmut at Debconf, it seems like all we can
reasonably do in Debian is to make it clear that the current situation
is explicitly supported by Debian, rather than spending effort with
metaconfig. As such, I propose we close this bug with something like the
attached documentation patch.

Cheers,
Dominic.
>From 72c6dc60df6cb46a77986f96ed29643a8ec9b55c Mon Sep 17 00:00:00 2001
From: Dominic Hargreaves <d...@earth.li>
Date: Mon, 17 Aug 2015 18:45:25 +0200
Subject: [PATCH] Document the special case of modifying Configure in in
 debian/README.Source (Closes: #762638)

---
 debian/README.source | 12 ++++++++++++
 debian/changelog     |  7 +++++++
 2 files changed, 19 insertions(+)

diff --git a/debian/README.source b/debian/README.source
index f4b7dbb..7cbbba8 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -125,6 +125,18 @@ then
     prove debian/t/*.t
 fi
 
+A special note on patching Configure
+------------------------------------
+
+The Configure file is a special case of a file which is autogenerated
+upstream by specialised tools, but which upstream explicitly declares
+it as being (a) preferred form of modification. As far as Debian goes,
+this means that we should generally not try to regenerate it, but patch
+it directly (forwarding patches upstream when needed).
+
+Please see <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762638>
+for a discussion about this issue.
+
 Credits
 -------
 
diff --git a/debian/changelog b/debian/changelog
index 14f18df..539206c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+perl (5.22.0-3) UNRELEASED; urgency=medium
+
+  * Document the special case of modifying Configure in
+    in debian/README.Source (Closes: #762638)
+
+ -- Dominic Hargreaves <d...@earth.li>  Mon, 17 Aug 2015 18:44:44 +0200
+
 perl (5.22.0-2) experimental; urgency=medium
 
   * Drop the ExtUtils::MakeMaker changes we've been carrying for much too long
-- 
2.1.4

Reply via email to