Skip to content

Commit

Permalink
dev-lang/perl: Allow finetuning with EXTRA_ECONF, bug 558070
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.0
  • Loading branch information
akhuettel committed Sep 19, 2016
1 parent 6bb0db3 commit bb12657
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dev-lang/perl/perl-5.24.0-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit bb12657

Please sign in to comment.