summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2016-09-19 23:43:27 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2016-09-19 23:44:33 +0200
commitbb12657fddf8b463de4bdd858b805b0eaa2aaf5a (patch)
treee7131cf1547bc83b3dc9da4393a3b86c781bba13
parentmail-mta/exim: add musl support, bug #533660 (diff)
downloadgentoo-bb12657fddf8b463de4bdd858b805b0eaa2aaf5a.tar.gz
gentoo-bb12657fddf8b463de4bdd858b805b0eaa2aaf5a.tar.bz2
gentoo-bb12657fddf8b463de4bdd858b805b0eaa2aaf5a.zip
dev-lang/perl: Allow finetuning with EXTRA_ECONF, bug 558070
Package-Manager: portage-2.3.0
-rw-r--r--dev-lang/perl/perl-5.24.0-r1.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-lang/perl/perl-5.24.0-r1.ebuild b/dev-lang/perl/perl-5.24.0-r1.ebuild
index e4d7ab297bea..20d018629399 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() {