diff options
Diffstat (limited to 'dev-perl/Encode-HanConvert')
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-perl/Encode-HanConvert/Encode-HanConvert-0.350.0-r2.ebuild b/dev-perl/Encode-HanConvert/Encode-HanConvert-0.350.0-r2.ebuild new file mode 100644 index 000000000000..6f8b7c8f9480 --- /dev/null +++ b/dev-perl/Encode-HanConvert/Encode-HanConvert-0.350.0-r2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=AUDREYT +DIST_VERSION=0.35 +inherit perl-module + +DESCRIPTION="Traditional and Simplified Chinese mappings" + +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=virtual/perl-Encode-1.410.0 +" +BDEPEND="${RDEPEND}" +PATCHES=( + "${FILESDIR}/${PN}-0.35-no-dot-inc.patch" +) + +src_compile() { + mymake=( + "OPTIMIZE=${CFLAGS}" + ) + perl-module_src_compile + # this file is converted to Perl.pm during src_configure + # and not needed after that, but has to be removed after compile + # to avoid confusing pm_to_blib, but has to be done before src_test + # as tests run against the result of this. + rm -vf "blib/lib/Encode/HanConvert/Perl.pm-orig" || die "Can't remove Perl.pm-orig" +} diff --git a/dev-perl/Encode-HanConvert/Manifest b/dev-perl/Encode-HanConvert/Manifest index 5e4ac4768bde..6d746867dfc9 100644 --- a/dev-perl/Encode-HanConvert/Manifest +++ b/dev-perl/Encode-HanConvert/Manifest @@ -1,3 +1,5 @@ +AUX Encode-HanConvert-0.35-no-dot-inc.patch 439 BLAKE2B bba041b3039b7e79a77aa9a3c221f89d3e0073bb9e52b2a47a5073759e2cfb8238c91fe5afe314ae889b5903f3736ce0ff827f0384070aeade36cb10ae34cd87 SHA512 b876a91d8154a0d83142e065c629964fea6e323f2c7159a7708cdb7c4f8a6db41968e0103c6d262277edc2290d6fcad53101a2978cbe1b9ebe244fcc19bd9351 DIST Encode-HanConvert-0.35.tar.gz 246530 BLAKE2B aaf33c810806e5e9ddddc047b1ac80a0e966e8a239c0a6a863e78bd3c27ef23d326dc1dae4ad75d7c53a1f3dbb5fa0a06c7f6cc5d1adab8ecb28b1c66a219aa1 SHA512 d121c1283978e52493d698cd0da178e235208cbee4bb2d0ea08385551bb9b164d92579d2d3ab7d31c7bd44ac5a2de8c6212ff979fbede19e7d964a3a0b843862 EBUILD Encode-HanConvert-0.350.0-r1.ebuild 465 BLAKE2B 7dcd9b213c63cb5213f15ba39fdc55658773fa497cfb4c04a54c37c876d5de226393ab6a182c856446af81d33ca5a9ae16195499dfb49ce805f1154a2654e10f SHA512 b1c3e50ae9b7440805ac985f3919db522abe9aafcdf1e9bf355140361af09d5b589a75b1be45a485a1b6a003f663ba9374e269dd0524b49cbf824423c2e5f7a2 +EBUILD Encode-HanConvert-0.350.0-r2.ebuild 785 BLAKE2B 7636f3ad4a09675181355e9f97338cefbb7294759b26f0fbaedc07a5be26b19bccc5633c4f693e3723227e1fad50375776a9d30c2d02078749a1656c6b132bec SHA512 c63e834dcfaad2a85e894899b700d9776908c343b307a74e135ea1cef3923ff39c9aada2fd2803aa1ef49d8b37be961e1e3624b70bed7b76a7c82a5f86e18f42 MISC metadata.xml 406 BLAKE2B 2e8858b6ad81f9ad5bf4bdc8b2794ac81dc8f667b0d4ebde498e9ef2aaa9654ada40b9cd20efe0f4e7cf8dd839e8149d62b7a30a4c8187e04051cb28ec4f06ca SHA512 1a07088aaf82497e465dcdf4a10dd48c3d3b2cef5e16ebd573e2cea5fa8a95f3fefa2da4155e5bd07e521860436336e0af39cee1210c5d2385e0d6fb5d1331f8 diff --git a/dev-perl/Encode-HanConvert/files/Encode-HanConvert-0.35-no-dot-inc.patch b/dev-perl/Encode-HanConvert/files/Encode-HanConvert-0.35-no-dot-inc.patch new file mode 100644 index 000000000000..add43d2818c1 --- /dev/null +++ b/dev-perl/Encode-HanConvert/files/Encode-HanConvert-0.35-no-dot-inc.patch @@ -0,0 +1,21 @@ +From 6316820623f3cc05c3fd28f34e819068685140f8 Mon Sep 17 00:00:00 2001 +From: Kent Fredric <kentnl@gentoo.org> +Date: Thu, 13 Aug 2020 22:41:26 +1200 +Subject: Include '.' in @INC for perl 5.26+ + +--- + Makefile.PL | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Makefile.PL b/Makefile.PL +index d46d7ae..9de9937 100755 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -1,3 +1,4 @@ ++use lib q[.]; + use inc::Module::Install; + use Config; + +-- +2.28.0 + |