summaryrefslogtreecommitdiff
path: root/textproc/po4a/files/patch-Po4aBuilder.pm
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2017-03-29 20:46:55 +0000
committerRenato Botelho <garga@FreeBSD.org>2017-03-29 20:46:55 +0000
commitb44f8e573e03921b724880cc62fb60021f7f51d6 (patch)
treeace7a74aafba0ebfa0cf66a83fd2389e10ad94fd /textproc/po4a/files/patch-Po4aBuilder.pm
parentUpdate to 0.21.7 (diff)
Update textproc/po4a to 0.51
Notes
Notes: svn path=/head/; revision=437236
Diffstat (limited to 'textproc/po4a/files/patch-Po4aBuilder.pm')
-rw-r--r--textproc/po4a/files/patch-Po4aBuilder.pm18
1 files changed, 6 insertions, 12 deletions
diff --git a/textproc/po4a/files/patch-Po4aBuilder.pm b/textproc/po4a/files/patch-Po4aBuilder.pm
index 34f9c8575f89..0d506777fce5 100644
--- a/textproc/po4a/files/patch-Po4aBuilder.pm
+++ b/textproc/po4a/files/patch-Po4aBuilder.pm
@@ -1,18 +1,12 @@
---- Po4aBuilder.pm.orig 2013-08-21 20:11:04 UTC
+--- Po4aBuilder.pm.orig 2017-03-29 14:02:01 UTC
+++ Po4aBuilder.pm
-@@ -132,13 +132,13 @@ sub ACTION_install {
-
- require ExtUtils::Install;
- # $self->depends_on('build');
-- my $mandir = $self->install_sets($self->installdirs)->{'bindoc'};
-+ my $mandir = $self->install_path->{'bindoc'};
- $mandir =~ s,/man1$,,;
+@@ -140,8 +140,8 @@ sub ACTION_install {
+ $mandir =~ s,/man3$,,;
$self->install_path(man => $mandir);
- $self->install_path(manl10n => $mandir);
-- my $localedir = $mandir;
-- $localedir =~ s,/man$,/locale,;
-+ my $localedir = $self->install_path->{'bin'};
+- my $localedir = $self->install_destination('libdoc');
+- $localedir =~ s,/man/man3$,/locale,;
++ my $localedir = $self->install_destination('bin');
+ $localedir =~ s,/bin$,/share/locale,;
$self->install_path(po => $localedir);