dev-perl/Locale-gettext: import from portage

Just copying the ebuilds from portage/ so hopefully no functional changes.

BUG=chromium-os:26016
TEST=`cbuildbot arm-generic-full` works
TEST=build_packages+build_image for x86-alex boots

Change-Id: I71de898449eb48a420a7823646556c8b6b8196ec
Reviewed-on: https://gerrit.chromium.org/gerrit/15428
Reviewed-by: Matt Tennant <mtennant@chromium.org>
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
Mike Frysinger 2012-02-01 17:29:26 -05:00 committed by Gerrit
parent 0a388d240d
commit cf4e48a60a
3 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,25 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Locale-gettext/Locale-gettext-1.05-r1.ebuild,v 1.8 2010/01/29 14:17:37 tove Exp $
EAPI=2
MODULE_AUTHOR=PVANDRY
MY_PN=gettext
MY_P=${MY_PN}-${PV}
S=${WORKDIR}/${MY_P}
inherit perl-module
DESCRIPTION="A Perl module for accessing the GNU locale utilities"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE=""
DEPEND="sys-devel/gettext"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}"/compatibility-with-POSIX-module.diff )
# Disabling the tests - not ready for prime time - mcummings
#SRC_TEST="do"

View File

@ -0,0 +1 @@
DIST gettext-1.05.tar.gz 7693 RMD160 767adfce05b8fe77ddd7d3814951822746cf6e4b SHA1 705f519ad61b4a8c522d8aaf98425e0bd21709f2 SHA256 27367f3dc1be79c9ed178732756e37e4cfce45f9e2a27ebf26e1f40d80124694

View File

@ -0,0 +1,16 @@
Bug-Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=237378
Bug: http://rt.cpan.org/Public/Bug/Display.html?id=35680
Bug-Debian: http://bugs.debian.org/479803
Author: Raphaël Hertzog <hertzog@debian.org>
Origin: vendor, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=479803#20
--- a/gettext.pm
+++ b/gettext.pm
@@ -32,6 +32,7 @@ to internationalize software.
=cut
use Carp;
+use POSIX qw(:locale_h);
require Exporter;
require DynaLoader;