Eli Schwartz wrote: > > Read the manpage for `man make.conf` and look for references to EXTRA_ECONF. > You will want to do this via package.env, obviously, not > /etc/portage/make.conf itself.
Thanks for the hint. Asking ChatGPT, I got the complete solution: 1. create the directory /etc/portage/env 2. put a file (with whatever name) there, e.g. simply "php", with the line EXTRA_ECONF="--with-pdo-firebird=/opt/firebird" in it 3. create a file /etc/portage/package.env with the line dev-lang/php php (the "php" at the end of the line is just the filename from the "env" directory) 4. re-install PHP Seems to work now... thanks again! -Matt