aboutsummaryrefslogtreecommitdiff
path: root/textproc/po4a
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-04-06 17:04:26 +0000
committerRenato Botelho <garga@FreeBSD.org>2015-04-06 17:04:26 +0000
commit61d9c86a257ed1cdd424ca28d3838527d46663f5 (patch)
tree1c7942bbe0b2c7763c1a1933b3697e3289bafa06 /textproc/po4a
parent412afd34bacdd90fa92943b9057201a691f46ae8 (diff)
downloadports-61d9c86a257ed1cdd424ca28d3838527d46663f5.tar.gz
ports-61d9c86a257ed1cdd424ca28d3838527d46663f5.zip
Fix installation when PREFIX != /usr/local
Submitted by: John Hein <john.hein@microsemi.com> Obtained from: https://alioth.debian.org/tracker/index.php?func=detail&aid=315040
Notes
Notes: svn path=/head/; revision=383450
Diffstat (limited to 'textproc/po4a')
-rw-r--r--textproc/po4a/files/patch-Po4aBuilder.pm13
1 files changed, 10 insertions, 3 deletions
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;