From bb12657fddf8b463de4bdd858b805b0eaa2aaf5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= Date: Mon, 19 Sep 2016 23:43:27 +0200 Subject: [PATCH] dev-lang/perl: Allow finetuning with EXTRA_ECONF, bug 558070 Package-Manager: portage-2.3.0 --- dev-lang/perl/perl-5.24.0-r1.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dev-lang/perl/perl-5.24.0-r1.ebuild b/dev-lang/perl/perl-5.24.0-r1.ebuild index e4d7ab297bea1..20d0186293990 100644 --- a/dev-lang/perl/perl-5.24.0-r1.ebuild +++ b/dev-lang/perl/perl-5.24.0-r1.ebuild @@ -380,6 +380,10 @@ src_configure() { myconf -Dnoextensions="${disabled_extensions}" + [[ -n "${EXTRA_ECONF}" ]] && ewarn During Perl build, EXTRA_ECONF=${EXTRA_ECONF} + # allow fiddling via EXTRA_ECONF, bug 558070 + eval "local -a EXTRA_ECONF=(${EXTRA_ECONF})" + sh Configure \ -des \ -Duseshrplib \ @@ -419,7 +423,8 @@ src_configure() { -Dsh="${EPREFIX}"/bin/sh \ -Dtargetsh="${EPREFIX}"/bin/sh \ -Uusenm \ - "${myconf[@]}" || die "Unable to configure" + "${myconf[@]}" \ + "${EXTRA_ECONF[@]}" || die "Unable to configure" } src_test() {