[Build-common-hackers] Bug#288806: cdbs: support for perl modules that use Module::Build

Jay Berkenbilt Jay Berkenbilt <ejb@ql.org>, 288806@bugs.debian.org
Wed, 05 Jan 2005 14:20:18 -0500

Package: cdbs
Version: 0.4.25-1
Severity: wishlist

It would be nice to see support for perl modules that use
Module::Build instead of MakeMaker.  Adding this support would not be
terribly difficult.  Instead of perl Makefile.PL, make, make test,
make install, you have perl Build.PL, ./Build, ./Build test, ./Build
install.  Also, the destdir=path flag is used to specify a destdir
rather than setting PREFIX.

I build a local package for a module that uses CPAN but don't have a
proper patch.  I fudged around it by creating a local Makefile with a
patch and just overriding the DEB_MAKEMAKER_INVOKE variable locally as

override DEB_MAKEMAKER_INVOKE = /usr/bin/perl Build.PL INSTALLDIRS=vendor

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

-- no debconf information