tag 578793 patch
thanks

On Thu, Apr 22, 2010 at 10:07:40PM +0300, Niko Tyni wrote:
> Package: libticket-simple-perl
> Version: 0.0.2-1
> Severity: important
> User: debian-p...@lists.debian.org
> Usertags: perl-5.12-transition
> 
> This package fails to build with newer versions of Module::Build,
> including libmodule-build-perl_0.360700-1 in sid and perl_5.12.0-1
> in experimental.

Patch attached, it works for me with this on both 5.10.1-12 and 5.12.0-2.
-- 
Niko Tyni   nt...@debian.org
>From 62e666695bd127fabc30ad657297cbda2dee2456 Mon Sep 17 00:00:00 2001
From: Niko Tyni <nt...@debian.org>
Date: Thu, 13 May 2010 15:39:41 +0300
Subject: [PATCH] Use Module::Build instead of ExtUtils::MakeMaker

Quoting Michael Schwern in
 http://www.nntp.perl.org/group/perl.perl5.porters/2010/04/msg158583.html

> Though in this case Module::Build::Compat is probably being overly paranoid.
> It is trying to protect MakeMaker from a version number it can't handle... but
> MakeMaker will not be involved in a "small" style compatibilty Makefile.

> Debian should be preferring the Build.PL over the Makefile.PL whenever
> possible.  Emulation sucks.
---
 debian/rules |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..1a102ba 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,4 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@
+	dh --buildsystem=perl_build $@
-- 
1.7.1

Reply via email to