From 61d9c86a257ed1cdd424ca28d3838527d46663f5 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Mon, 6 Apr 2015 17:04:26 +0000 Subject: Fix installation when PREFIX != /usr/local Submitted by: John Hein Obtained from: https://alioth.debian.org/tracker/index.php?func=detail&aid=315040 --- textproc/po4a/files/patch-Po4aBuilder.pm | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'textproc/po4a/files/patch-Po4aBuilder.pm') diff --git a/textproc/po4a/files/patch-Po4aBuilder.pm b/textproc/po4a/files/patch-Po4aBuilder.pm index 18a8a4160baf..e1d05327ed9c 100644 --- a/textproc/po4a/files/patch-Po4aBuilder.pm +++ b/textproc/po4a/files/patch-Po4aBuilder.pm @@ -1,6 +1,13 @@ ---- Po4aBuilder.pm.orig 2014-03-25 01:47:00.000000000 -0300 -+++ Po4aBuilder.pm 2014-03-25 01:47:32.000000000 -0300 -@@ -138,7 +138,7 @@ +--- Po4aBuilder.pm.orig 2013-08-21 15:11:04.000000000 -0500 ++++ Po4aBuilder.pm 2015-04-06 11:57:21.938813000 -0500 +@@ -132,13 +132,13 @@ + + require ExtUtils::Install; + # $self->depends_on('build'); +- my $mandir = $self->install_sets($self->installdirs)->{'bindoc'}; ++ my $mandir = $self->install_path->{'bindoc'}; + $mandir =~ s,/man1$,,; + $self->install_path(man => $mandir); $self->install_path(manl10n => $mandir); my $localedir = $mandir; -- cgit v1.2.3