Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 558070

Summary: dev-lang/perl ebuilds don't support EXTRA_ECONF environment variable anymore
Product: Gentoo Linux Reporter: kipeta <kimmotas>
Component: [OLD] DevelopmentAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description kipeta 2015-08-18 11:39:45 UTC
Some of the latest dev-lang/perl ebuilds have not supported the additional parameters for the "configure" using the EXTRA_ECONF environment variable. The support used to exists some time ago. For some ARM builds I'd need to use "-Duse64bitint" option. 

Reproducible: Always

Steps to Reproduce:
1.EXTRA_ECONF="-Duse64bitint" emerge perl
2.
3.
Actual Results:  
64bitint support is not enabled. See "[n]" in Configure output below:
...
Checking which 64-bit integer type we could use...
We could use 'long long' for 64-bit integers.
Try to use 64-bit integers, if available? [n]  
...

Expected Results:  
64bitint support should be enabled. See "[y]" in Configure output below:
...
Checking which 64-bit integer type we could use...
We could use 'long long' for 64-bit integers.
Try to use 64-bit integers, if available? [y]  
...

See portage "econf" function in phase-helpers.sh how it is implemented there. It's easy to implement it the same way in "src_configure-v50180002.eblit"

        eval "local -a EXTRA_ECONF=(${EXTRA_ECONF})"

        sh Configure \
                ...
                "${myconf[@]}" \
                "${EXTRA_ECONF[@]}" || die "Unable to configure"
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2016-09-19 21:44:57 UTC
Re-added as of 5.24.0-r1, and will be in future versions.