diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2016-06-01 00:15:23 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2016-06-01 00:15:40 +0200 |
commit | b30b221e0e1764c3e3347f189de89a3fb825cd59 (patch) | |
tree | 03c6134a9da4b0900dda5abbeb0e4adae235fe28 /dev-perl/libintl-perl | |
parent | dev-perl/libintl-perl: More minimal patching, fixes bug 584636 (diff) | |
download | gentoo-b30b221e0e1764c3e3347f189de89a3fb825cd59.tar.gz gentoo-b30b221e0e1764c3e3347f189de89a3fb825cd59.tar.bz2 gentoo-b30b221e0e1764c3e3347f189de89a3fb825cd59.zip |
dev-perl/libintl-perl: Remove broken version
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'dev-perl/libintl-perl')
-rw-r--r-- | dev-perl/libintl-perl/files/libintl-perl-1.240.0-sanity.patch | 72 | ||||
-rw-r--r-- | dev-perl/libintl-perl/libintl-perl-1.240.0-r1.ebuild | 36 |
2 files changed, 0 insertions, 108 deletions
diff --git a/dev-perl/libintl-perl/files/libintl-perl-1.240.0-sanity.patch b/dev-perl/libintl-perl/files/libintl-perl-1.240.0-sanity.patch deleted file mode 100644 index b9add8a334c7..000000000000 --- a/dev-perl/libintl-perl/files/libintl-perl-1.240.0-sanity.patch +++ /dev/null @@ -1,72 +0,0 @@ -diff -ruN libintl-perl-1.24.orig/Makefile.PL libintl-perl-1.24/Makefile.PL ---- libintl-perl-1.24.orig/Makefile.PL 2015-04-03 15:28:12.000000000 +0200 -+++ libintl-perl-1.24/Makefile.PL 2016-05-29 18:42:29.495587789 +0200 -@@ -163,56 +163,8 @@ - - package MY; - --# FIXME: This is really a hack! Problem: Depending on the build system, --# we may or may not build and install the XS version. If the XS version --# is being built, the directory blib/arch will be populated, if it is --# not being built, blib/arch will be empty. Unfortunately, if blib/arch --# is not empty, *all* library files will be installed in the architecture --# dependent locations, if it is empty, they will be installed in the --# architecture independent tree. --# --# Unfortunately, ExtUtils::MakeMaker does not take care of uninstalling --# files from previous installations. Consequently, we cannot determine --# which version of the library will be loaded, since this depends on the --# current value of @INC. --# --# The solution does not really make me happy. The Makefile will be patched, --# so that instead of ExtUtils::Install a custom module MyInstall.pm will --# be used. This custom module overwrites the subroutine that detects --# whether a directory is empty in ExtUtils::Install, and will lie if that --# directory happens to be "blib/arch". This little hack effectively disables --# the annoying behavior of ExtUtils::Install (and I sincerely hope that --# this is portable). --sub libscan --{ -- my ($self, $file) = @_; -- -- return if 'MyInstall.pm' eq $file; -- -- $self->SUPER::libscan ($file); --} -- --sub tools_other --{ -- my $self = shift; -- -- my $fragment = $self->SUPER::tools_other (@_); -- -- $fragment =~ s/^MOD_INSTALL\s*=\s*(.*?)-MExtUtils::Install -- /MOD_INSTALL =$1-MMyInstall/msx; -- -- return $fragment; --} -- - package main; - --my $name = $0; --$name =~ s,Makefile\.PL$,xs_disabled,; --local *HANDLE; --open HANDLE, ">$name" or die "cannot open '$name' for writing: $!"; --print HANDLE !$build_gettext_xs; --close HANDLE or die "cannot close '$name': $!"; -- - WriteMakefile ( - NAME => 'libintl-perl', - VERSION_FROM => 'lib/Locale/Messages.pm', -@@ -232,11 +184,6 @@ - }, - }, - PL_FILES => {}, -- DIR => [$build_gettext_xs ? ('gettext_xs') : ()], -- clean => { FILES => 'xs_disabled build_xs' } -- # If you want to build the XS version although the automatic detection -- # suggests not to build it, uncomment the following line. -- #DIR => [ ('gettext_xs') ],, - ); - - sub MY::postamble { diff --git a/dev-perl/libintl-perl/libintl-perl-1.240.0-r1.ebuild b/dev-perl/libintl-perl/libintl-perl-1.240.0-r1.ebuild deleted file mode 100644 index cdefba9fc8bb..000000000000 --- a/dev-perl/libintl-perl/libintl-perl-1.240.0-r1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -MODULE_AUTHOR=GUIDO -MODULE_VERSION=1.24 -inherit perl-module - -DESCRIPTION="High-Level Interface to Uniforum Message Translation" -HOMEPAGE="http://guido-flohr.net/projects/libintl-perl ${HOMEPAGE}" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -DEPEND="virtual/libintl" -RDEPEND=${DEPEND} - -PATCHES=( "${FILESDIR}/${P}-sanity.patch" ) - -SRC_TEST=do - -src_test() { - if grep -q '^de_' <( locale -a ) ; then - if grep -q '^de_AT$' <( locale -a ) ; then - perl-module_src_test - else - ewarn "Skipping tests, known broken with de_ and without de_AT" - fi - else - perl-module_src_test - fi -} |