Skip Menu |

This queue is for tickets about the RT-Extension-MandatoryOnTransition CPAN distribution.

Report information
The Basics
Id: 116138
Status: resolved
Priority: 0/
Queue: RT-Extension-MandatoryOnTransition

People
Owner: Nobody in particular
Requestors: matthew [...] FreeBSD.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: RTx.pm regression
Date: Thu, 14 Jul 2016 08:11:58 +0100
To: bug-RT-Extension-MandatoryOnTransition [...] rt.cpan.org
From: Matthew Seaman <matthew [...] FreeBSD.org>
Subject: RTx.pm regression
To: bug-RT-Extension-MandatoryOnTransition [...] rt.cpan.org
From: Matthew Seaman <matthew [...] FreeBSD.org>
Dear RT-Extension-MandatoryOnTransion, I'm the maintiner of the port of RT-Extension-MandatoryOnTransition in the FreeBSD ports. There's been a regression in version 0.12 that breaks DESTDIR handling on installation, which affects our ability to make packages of this software. This is a recurrence of a bug that was previously fixed in 0.10 Here's a patch: --- inc/Module/Install/RTx.pm.orig 2016-07-11 20:28:38 UTC +++ inc/Module/Install/RTx.pm @@ -85,7 +85,7 @@ sub RTx { my %index = map { $_ => 1 } @INDEX_DIRS; $self->no_index( directory => $_ ) foreach grep !$index{$_}, @DIRS; - my $args = join ', ', map "q($_)", map { ($_, $path{$_}) } + my $args = join ', ', map "q($_)", map { ($_, "\$(DESTDIR)$path{$_}") } sort keys %path; printf "%-10s => %s\n", $_, $path{$_} for sort keys %path; Cheers, Matthew
Download signature.asc
application/pgp-signature 931b

Message body not shown because it is not plain text.

Thanks for the report. I've reinstated an updated version of Module::Install::RTx with this fix, and it is currently on its way to CPAN as version 0.13. - Alex