dev-perl/autobox: -r bump for EAPI7 + CFLAGS love

- EAPI7
- Ensure CFLAGS passed to make/compiler

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
This commit is contained in:
Kent Fredric
2020-07-03 11:57:42 +12:00
parent 356eebba5d
commit 5309a5e467
+31
View File
@@ -0,0 +1,31 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DIST_AUTHOR=CHOCOLATE
DIST_VERSION=v3.0.1
inherit perl-module
DESCRIPTION="Call methods on native types"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-perl/Scope-Guard-0.210.0
>=virtual/perl-version-0.770.0
"
BEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? (
>=dev-perl/IPC-System-Simple-1.250.0
>=dev-perl/Test-Fatal-0.14.0
)
"
src_compile() {
mymake=(
"OPTIMIZE=${CFLAGS}"
)
perl-module_src_compile
}