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

Robert Millan Robert Millan <rmh@debian.org>, 305488@bugs.debian.org
Wed, 18 May 2005 12:21:42 +0200


On Wed, Apr 20, 2005 at 12:03:27PM +0200, Jonas Smedegaard wrote:
> 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.

Thanks for the patch, but please note that when adding stuff to
CDBS_BUILD_DEPENDS in a new file, you must make sure that buildvars.mk has been
included to avoid using the variable uninitialised.

I'm adding this for you.

> --- 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)


-- 
 .''`.   Proudly running Debian GNU/kFreeBSD unstable/unreleased (on UFS2+S)
: :' :
`. `'    http://www.debian.org/ports/kfreebsd-gnu
  `-