Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357503 - www-apps/gallery-2.3.1: does not emerge when php was only built with mysqli
Summary: www-apps/gallery-2.3.1: does not emerge when php was only built with mysqli
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-05 09:55 UTC by Stef Simoens
Modified: 2011-03-07 20:34 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stef Simoens 2011-03-05 09:55:18 UTC
php built with +mysqli and -mysql does not allow gallery to be emerged with +mysql

Reproducible: Always

Steps to Reproduce:
1. package.use : php -mysql +mysqli
2. package.use : gallery +mysql
3. emerge gallery

Actual Results:  
ebuild complains that php should have been emerged +mysql

Expected Results:  
correct emerge

line 26 of the ebuild should not include mysql, because line 25 already includes an OR'ed php[mysql] php[mysqli]

patch to make it work


--- /usr/portage/www-apps/gallery/gallery-2.3.1.ebuild	2011-02-14 19:31:26.000000000 +0100
+++ gallery-2.3.1-r90.ebuild	2011-03-05 10:46:14.667601713 +0100
@@ -23,7 +23,7 @@
 	sqlite? ( dev-lang/php[pdo] )
 	gd? ( || ( dev-lang/php[gd] dev-lang/php[gd-external] ) )
 	mysql? ( || ( dev-lang/php[mysql] dev-lang/php[mysqli] ) )
-	dev-lang/php[mysql?,session,postgres?,sqlite?]
+	dev-lang/php[session,postgres?,sqlite?]
 	|| ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 )"
 
 S=${WORKDIR}/${PN}2
Comment 1 Tim Harder gentoo-dev 2011-03-07 20:34:57 UTC
Thanks, fixed in CVS.