commit:     ae86807535c74de95d974e33c54ec18618de0507
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 10 15:01:46 2016 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Thu Nov 10 15:14:52 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae868075

dev-perl/Sys-Syscall: Avoid installed README.pod to vendor/

Package-Manager: portage-2.3.2

 ...s-Syscall-0.250.0-r1.ebuild => Sys-Syscall-0.250.0-r2.ebuild} | 9 ++++++++-
 dev-perl/Sys-Syscall/files/Sys-Syscall-0.25-INSTALL.SKIP         | 1 +
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/dev-perl/Sys-Syscall/Sys-Syscall-0.250.0-r1.ebuild 
b/dev-perl/Sys-Syscall/Sys-Syscall-0.250.0-r2.ebuild
similarity index 52%
rename from dev-perl/Sys-Syscall/Sys-Syscall-0.250.0-r1.ebuild
rename to dev-perl/Sys-Syscall/Sys-Syscall-0.250.0-r2.ebuild
index 4c26c88..0ac6e69 100644
--- a/dev-perl/Sys-Syscall/Sys-Syscall-0.250.0-r1.ebuild
+++ b/dev-perl/Sys-Syscall/Sys-Syscall-0.250.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -15,3 +15,10 @@ KEYWORDS="amd64 ~ppc x86"
 IUSE=""
 
 SRC_TEST="do"
+
+src_prepare() {
+       # https://rt.cpan.org/Ticket/Display.html?id=118696
+       cp "${FILESDIR}/${PN}-${MODULE_VERSION}-INSTALL.SKIP" \
+               "${S}/INSTALL.SKIP" || die "Can't copy INSTALL.SKIP file"
+       perl-module_src_prepare
+}

diff --git a/dev-perl/Sys-Syscall/files/Sys-Syscall-0.25-INSTALL.SKIP 
b/dev-perl/Sys-Syscall/files/Sys-Syscall-0.25-INSTALL.SKIP
new file mode 100644
index 00000000..4fd94be
--- /dev/null
+++ b/dev-perl/Sys-Syscall/files/Sys-Syscall-0.25-INSTALL.SKIP
@@ -0,0 +1 @@
+README\.pod$

Reply via email to