summaryrefslogtreecommitdiff
path: root/dev-perl/libintl-perl/files/libintl-perl-1.280.0-sanity-2.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
commit1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch)
treee48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-perl/libintl-perl/files/libintl-perl-1.280.0-sanity-2.patch
parentd87262dd706fec50cd150aab3e93883b6337466d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-perl/libintl-perl/files/libintl-perl-1.280.0-sanity-2.patch')
-rw-r--r--dev-perl/libintl-perl/files/libintl-perl-1.280.0-sanity-2.patch65
1 files changed, 0 insertions, 65 deletions
diff --git a/dev-perl/libintl-perl/files/libintl-perl-1.280.0-sanity-2.patch b/dev-perl/libintl-perl/files/libintl-perl-1.280.0-sanity-2.patch
deleted file mode 100644
index 456ea3349a90..000000000000
--- a/dev-perl/libintl-perl/files/libintl-perl-1.280.0-sanity-2.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-From fbc3111eec0b71d247d6588bf1f9397bae558a29 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= <dilfridge@gentoo.org>
-Date: Wed, 1 Jun 2016 00:06:12 +0200
-Subject: Minimal build system patching
-
-Bug: https://bugs.gentoo.org/584636
----
- Makefile.PL | 41 -----------------------------------------
- 1 file changed, 41 deletions(-)
-
-diff --git a/Makefile.PL b/Makefile.PL
-index 97d88bf..e23dc89 100644
---- a/Makefile.PL
-+++ b/Makefile.PL
-@@ -163,47 +163,6 @@ EOC
-
- 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-I. -MMyInstall/msx;
--
-- return $fragment;
--}
--
- package main;
-
- my $name = $0;
---
-2.14.3
-