Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 61059

Summary: php5-sapi.eclass and a problem with the "jpeg" USE flag
Product: Gentoo Linux Reporter: Peter V. Pretsch <pvp>
Component: New packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Peter V. Pretsch 2004-08-20 12:17:07 UTC
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.
Comment 1 Stuart Herbert (RETIRED) gentoo-dev 2004-08-20 14:46:32 UTC
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