Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158419 - dev-php/PEAR-Log-1.9.3.ebuild - unnecessary 'require_php_with_use sqlite'
Summary: dev-php/PEAR-Log-1.9.3.ebuild - unnecessary 'require_php_with_use sqlite'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-17 17:41 UTC by Travis Post
Modified: 2007-03-21 23:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
adds 'useq sqlite &&' in front of 'require_php_with_use sqlite' (PEAR-Log-1.9.3-r1.diff,677 bytes, patch)
2006-12-17 17:51 UTC, Travis Post
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Travis Post 2006-12-17 17:41:37 UTC
PEAR-Log-1.9.3.ebuild requires PHP to be built with Sqlite DB support even though this shouldn't be necessary. The ebuild depends on PEAR-DB which allows a variety of databases to be used (not just Sqlite).
Comment 1 Travis Post 2006-12-17 17:51:32 UTC
Created attachment 104255 [details, diff]
adds 'useq sqlite &&' in front of 'require_php_with_use sqlite'

Replaced 'require_php_with_use sqlite' with 'useq sqlite && require_php_with_use sqlite'.

Verified this patch allows PEAR-Log to work successfully with dev-db/mysql-5.0.26-r1 and dev-lang/php-5.1.6-r6.
Comment 2 valli 2007-01-12 15:02:42 UTC
Please fix this in portage.
I need also dev-php/PEAR-Log. But I don't want to compile
my php with sqlite.

sqlite is listed as optional in http://pear.php.net/package/Log/download/
Comment 3 Luca Longinotti (RETIRED) gentoo-dev 2007-03-21 23:04:27 UTC
Fixed in CVS now, PEAR-Log doesn't anymore require SQLite in any way, as it's only an optional requirement, and it doesn't make sense to force it on everyone this time (we generally have a policy of enabling/requiring all of the required deps of a PEAR package, as well as most of the optional ones, of course within reason).
I've also bumped PEAR-Log to 1.9.10 while I was at it.
Best regards, CHTEKK.