gentoo.LinuxHowtos.org
Adding extra options to the configure call during emerge You have a package that is listed in the portage tree but during the configure call somethings complains about missing header/libraries.You can see, that the needed files are installed, but in a different path.
Or if you just want to enable/disable something, that the ebuild doesn't do for you.
You should file a bug report to have it fixed/improved.
Sadly, you have to wait a few hours/days till it becomes available in the tree.
Until then you can pass the additional configure options via the environment variable EXTRA_ECONF.
Example:
EXTRA_ECONF="--with-something" emerge foo/barwill result in a configure call like this:
./configure [normal configure options generated by the ebuild] --with-something
Happy compiling
back