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
Message body not shown because it is not plain text.