Skip to content

Commit

Permalink
dev-perl/autobox: -r bump for EAPI7 + CFLAGS love
Browse files Browse the repository at this point in the history
- EAPI7
- Ensure CFLAGS passed to make/compiler

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Kent Fredric <[email protected]>
  • Loading branch information
kentfredric committed Jul 2, 2020
1 parent 356eebb commit 5309a5e
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions dev-perl/autobox/autobox-3.0.1-r1.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 5309a5e

Please sign in to comment.