Summary: | php5-sapi.eclass and a problem with the "jpeg" USE flag | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Peter V. Pretsch <pvp> |
Component: | New packages | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Line 338 of the php5-sapi ebuild is correct. It pulls in the jpeg library, which is required for the cpdflib extension. To enable jpeg support, you need to enable either 'gd' or 'gd-external'. I have updated the php5-sapi eclass to warn users that this needs to be done. Best regards, Stu |
Fix: portage/eclass/php5-sapi.eclass 338c338 < enable_extension_with "jpeg-dir" "jpeg" 0 "/usr" --- > enable_extension_with "jpeg-dir" "cpdflib" 0 "/usr" Reproducible: Always Steps to Reproduce: 1. 2. 3.