Update to p5-libintl-1.24.
This commit is contained in:
parent
bdf30b4e4a
commit
e66b8523a8
@ -1,11 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.10 2015/05/18 11:29:37 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.11 2015/09/18 13:28:39 ajacoutot Exp $
|
||||
|
||||
COMMENT= internationalization library written in Perl
|
||||
|
||||
V= 1.16
|
||||
V= 1.24
|
||||
DISTNAME= libintl-perl-${V}
|
||||
PKGNAME= p5-libintl-${V}
|
||||
REVISION = 2
|
||||
CATEGORIES= devel
|
||||
MODULES= cpan
|
||||
CPAN_AUTHOR= GUIDO
|
||||
@ -13,7 +12,9 @@ CPAN_AUTHOR= GUIDO
|
||||
# perl
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
||||
MODULES += devel/gettext
|
||||
|
||||
pre-configure:
|
||||
rm ${WRKSRC}/lib/Locale/*.orig
|
||||
${SUBST_CMD} ${WRKSRC}/gettext_xs/Makefile.PL
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (libintl-perl-1.16.tar.gz) = GmSJXJps27XN//gfFSBUH+4o6F+5QNmwSE3mVtaa6PU=
|
||||
SIZE (libintl-perl-1.16.tar.gz) = 465597
|
||||
SHA256 (libintl-perl-1.24.tar.gz) = 2NXpX1VT4aYkw/i/DNQvSkbWe8+DKR1b1sgcm+LyYaI=
|
||||
SIZE (libintl-perl-1.24.tar.gz) = 605626
|
||||
|
12
devel/p5-libintl/patches/patch-gettext_xs_Makefile_PL
Normal file
12
devel/p5-libintl/patches/patch-gettext_xs_Makefile_PL
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-gettext_xs_Makefile_PL,v 1.1 2015/09/18 13:28:39 ajacoutot Exp $
|
||||
--- gettext_xs/Makefile.PL.orig Fri Sep 18 15:02:35 2015
|
||||
+++ gettext_xs/Makefile.PL Fri Sep 18 15:02:49 2015
|
||||
@@ -37,7 +37,7 @@ WriteMakefile (
|
||||
),
|
||||
PREREQ_PM => { File::Spec => 0 },
|
||||
PL_FILES => {},
|
||||
- LIBS => ['-lintl -liconv'],
|
||||
+ LIBS => ['-L${LOCALBASE}/lib' . ' -lintl -liconv'],
|
||||
);
|
||||
|
||||
__END__
|
@ -1,35 +0,0 @@
|
||||
$OpenBSD: patch-lib_Locale_TextDomain_pm,v 1.2 2007/06/27 21:09:48 steven Exp $
|
||||
--- lib/Locale/TextDomain.pm.orig Wed Sep 28 01:29:38 2005
|
||||
+++ lib/Locale/TextDomain.pm Wed Jun 27 23:07:26 2007
|
||||
@@ -79,7 +79,7 @@ use vars qw (@ISA @EXPORT %__ $__);
|
||||
|
||||
my %textdomains = ();
|
||||
my %bound_dirs = ();
|
||||
-my @default_dirs = ();
|
||||
+my @default_dirs;
|
||||
|
||||
sub __ ($);
|
||||
|
||||
@@ -95,8 +95,7 @@ BEGIN {
|
||||
# Add default search directories, but only if they exist.
|
||||
for my $dir (qw (/usr/share/locale /usr/local/share/locale)) {
|
||||
if (-d $dir) {
|
||||
- @default_dirs = ($dir);
|
||||
- last;
|
||||
+ push @default_dirs, $dir;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -221,8 +220,10 @@ sub import
|
||||
# Remember that we still have to bind that textdomain to
|
||||
# a directory.
|
||||
unless (exists $bound_dirs{$textdomain}) {
|
||||
- @search_dirs = map $_ . '/LocaleData', @INC, @default_dirs
|
||||
- unless @search_dirs;
|
||||
+ unless (@search_dirs) {
|
||||
+ @search_dirs = map $_ . '/LocaleData', @INC;
|
||||
+ push @search_dirs, @default_dirs;
|
||||
+ }
|
||||
$bound_dirs{$textdomain} = \@search_dirs;
|
||||
}
|
||||
|
2
devel/p5-libintl/pkg/PFRAG.shared
Normal file
2
devel/p5-libintl/pkg/PFRAG.shared
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1 2015/09/18 13:28:39 ajacoutot Exp $
|
||||
${P5ARCH}/auto/Locale/gettext_xs/gettext_xs.so
|
@ -1,4 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/05/19 10:09:27 steven Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2015/09/18 13:28:39 ajacoutot Exp $
|
||||
%%SHARED%%
|
||||
${P5SITE}/Locale/
|
||||
${P5SITE}/Locale/Messages.pm
|
||||
${P5SITE}/Locale/Recode/
|
||||
@ -146,8 +147,16 @@ ${P5SITE}/Locale/RecodeData/UTF_8.pm
|
||||
${P5SITE}/Locale/RecodeData/VISCII.pm
|
||||
${P5SITE}/Locale/RecodeData/_Encode.pm
|
||||
${P5SITE}/Locale/TextDomain.pm
|
||||
${P5SITE}/Locale/Util.pm
|
||||
${P5SITE}/Locale/gettext_dumb.pm
|
||||
${P5SITE}/Locale/gettext_pp.pm
|
||||
${P5SITE}/Locale/gettext_xs.pm
|
||||
${P5SITE}/Locale/gettext_xs.pod
|
||||
${P5SITE}/Locale/libintlFAQ.pod
|
||||
${P5ARCH}/
|
||||
${P5ARCH}/auto/
|
||||
${P5ARCH}/auto/Locale/
|
||||
${P5ARCH}/auto/Locale/gettext_xs/
|
||||
@man man/man3p/Locale::Messages.3p
|
||||
@man man/man3p/Locale::Recode.3p
|
||||
@man man/man3p/Locale::Recode::_Aliases.3p
|
||||
@ -292,5 +301,8 @@ ${P5SITE}/Locale/gettext_xs.pod
|
||||
@man man/man3p/Locale::RecodeData::VISCII.3p
|
||||
@man man/man3p/Locale::RecodeData::_Encode.3p
|
||||
@man man/man3p/Locale::TextDomain.3p
|
||||
@man man/man3p/Locale::Util.3p
|
||||
@man man/man3p/Locale::gettext_dumb.3p
|
||||
@man man/man3p/Locale::gettext_pp.3p
|
||||
@man man/man3p/Locale::gettext_xs.3p
|
||||
@man man/man3p/Locale::libintlFAQ.3p
|
||||
|
Loading…
Reference in New Issue
Block a user