when emerging mod_php, USE='gd' causes --with-gd=/usr if media-libs/libgd is installed. while this is the correct path, media-libs/libgd is currently at version 1.8.x in both masked and unmasked portage. since some time around php-4.3, php includes a gd-2 compatible library. it is used if --with-gd is given as configure argument without a path specification. Reproducible: Always Steps to Reproduce: 1.USE='apache2 gd' emerge mod_php 2.echo "<?php phpinfo(); ?>" > test.php 3.open test.php in webbrowser Actual Results: unpatched version: gd version 1.8.4 Expected Results: patched version: bundled (2.0 compatible) --- mod_php-4.3.1-r1.ebuild 2003-03-17 04:21:03.000000000 +0100 +++ mod_php-4.3.1-r2.ebuild 2003-03-25 00:12:27.000000000 +0100 @@ -128,7 +128,7 @@ use jpeg && myconf="${myconf} --with-jpeg-dir=/usr" use tiff && myconf="${myconf} --with-tiff-dir=/usr" use spell && myconf="${myconf} --with-pspell" - use gd && myconf="${myconf} --with-gd=/usr" + use gd && myconf="${myconf} --with-gd" use png && myconf="${myconf} --with-png-dir=/usr" # And zlib, but we need to know if the user wants it - Quequero
yes but the internal version has other issues ... we have had bugs that are a result of using the internal version of libgd ... i'm working on the libgd-2.x support in portage and i'm pretty sure theres a bug about that ...
if not, please re-open ;)