As far as I can tell every single ebuild before php-4.2.2-r1.ebuild has the following line: use png && myconf="${myconf} --with-png-dir=/usr" However, php-4.2.2-r1.ebuild is missing this line. It has the dependency check, but it doesn't have the line that actually adds the configure option --with- png. Not sure why it got taken out, but my theory was when rphillips was fixing bug #2708 (see "# rphillips - should fix #2708" in the ebuild file) he just accidentally deleted the line. That's my guess anyway, since he changed code RIGHT where the missing line should be. -PJ http://www.elitegamer.com
looks like a simple mistake ... notice the duplicate tiff in the first and the correct handling in the 2nd ... /usr/portage/dev-php/php/php-4.2.2-r1.ebuild: use tiff && myconf="${myconf} --with-tiff-dir=/usr" # rphillips - should fix #2708 if [ "`use pdflib`" ] ; then myconf="${myconf} --enable-pdflib=/usr" else use jpeg && myconf="${myconf} --with-jpeg-dir=/usr/lib" use tiff && myconf="${myconf} --with-tiff-dir=/usr" fi /usr/portage/dev-php/mod_php/mod_php-4.2.2-r1.ebuild use png && myconf="${myconf} --with-png-dir=/usr" # rphillips - should fix #2708 if [ "`use pdflib`" ] ; then myconf="${myconf} --with-pdflib=/usr" else use jpeg && myconf="${myconf} --with-jpeg-dir=/usr/lib" use tiff && myconf="${myconf} --with-tiff-dir=/usr" fi
I just wanted to add that this is NOT a problem in mod_php.
i know ... i was showing that mod_php did it correctly ...
committed