[Build-common-hackers] Bug#305488: cdbs: perl-modules support for debian/config auto-update

Jonas Smedegaard dr@jones.dk, 305488@bugs.debian.org
Wed, 20 Apr 2005 12:03:27 +0200


This is a multi-part MIME message sent by reportbug.

--===============0042954889==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: cdbs
Version: 0.4.27-4
Severity: wishlist
Tags: patch

Please apply the attached patch to support debian/config auto-update for
the perl-modules snippet.


Regards,

 - Jonas

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.12-rc1-mm3+debianlogo+squashfs
Locale: LANG=da_DK, LC_CTYPE=da_DK (charmap=ISO-8859-1)

-- no debconf information

--===============0042954889==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="perlmodule.mk.diff"

--- perlmodule.mk.orig	2005-04-14 21:15:45.000000000 +0200
+++ perlmodule.mk	2005-04-20 11:51:24.000000000 +0200
@@ -28,6 +28,11 @@
 ifndef _cdbs_class_perlmodule
 _cdbs_class_perlmodule := 1
 
+# Dependency according to Perl policy 4.3
+# (contrary to common misunderstanding a tighter dependency on perl 5.8
+#  was only temporarily needed when 5.8 was introduced into Debian sid.)
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), perl (>= 5.6.0-16)
+
 include $(_cdbs_class_path)/perlmodule-vars.mk$(_cdbs_makefile_suffix)
 
 include $(_cdbs_class_path)/makefile.mk$(_cdbs_makefile_suffix)

--===============0042954889==--