commit:     060fc43d35fda4adb9961ee1ce3625269102afcc
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  3 13:15:56 2020 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Fri Jul  3 14:59:39 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=060fc43d

dev-perl/B-Flags: -r1 for EAPI7 + CFLAGS love

- EAPI7
- Ensure CFLAGS passed to make/compile
- Remove empty/unused variable assignments

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>

 dev-perl/B-Flags/B-Flags-0.170.0-r1.ebuild | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/dev-perl/B-Flags/B-Flags-0.170.0-r1.ebuild 
b/dev-perl/B-Flags/B-Flags-0.170.0-r1.ebuild
new file mode 100644
index 00000000000..999940b6369
--- /dev/null
+++ b/dev-perl/B-Flags/B-Flags-0.170.0-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=RURBAN
+DIST_VERSION=0.17
+inherit perl-module
+
+DESCRIPTION="Friendlier flags for B"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="${RDEPEND}
+       virtual/perl-ExtUtils-MakeMaker
+"
+src_compile() {
+       mymake=(
+               "OPTIMIZE=${CFLAGS}"
+       )
+       perl-module_src_compile
+}

Reply via email to