commit: db9ce478417dad2a495847e03b311487f42d52b9 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> AuthorDate: Thu Jul 2 23:56:35 2020 +0000 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> CommitDate: Thu Jul 2 23:57:46 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db9ce478
dev-perl/autovivification: -r bump for EAPI + CFLAGS love - EAPI7 - Ensure CFLAGS passed through make/complier Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org> .../autovivification-0.180.0-r1.ebuild | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/dev-perl/autovivification/autovivification-0.180.0-r1.ebuild b/dev-perl/autovivification/autovivification-0.180.0-r1.ebuild new file mode 100644 index 00000000000..fe741a70589 --- /dev/null +++ b/dev-perl/autovivification/autovivification-0.180.0-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +DIST_AUTHOR=VPIT +DIST_VERSION=0.18 +DIST_EXAMPLES=("samples/*") +inherit perl-module + +DESCRIPTION="Lexically disable autovivification" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="virtual/perl-XSLoader" +BDEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker + test? ( + virtual/perl-Exporter + virtual/perl-Test-Simple + ) +" +src_compile() { + mymake=( + "OPTIMIZE=${CFLAGS}" + ) + perl-module_src_compile +}