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

Bug 349122

Summary: dev-lang/php-5.3.4: SAPI=fpm forces SAPI=cli
Product: Gentoo Linux Reporter: Johan Bergström <bugs>
Component: New packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 348628    

Description Johan Bergström 2010-12-19 20:51:00 UTC
Currently, only using the fpm cli won't work. The ebuild needs a change in style with:

diff --git a/dev-lang/php/php-5.3.4.ebuild b/dev-lang/php/php-5.3.4.ebuild                                                                              
index 5c82d67..16dd704 100644                                                                                                                           
--- a/dev-lang/php/php-5.3.4.ebuild                                                                                                                     
+++ b/dev-lang/php/php-5.3.4.ebuild                                                                                                                     
@@ -238,7 +238,7 @@ RDEPEND="${DEPEND}                                                                                                                  
        firebird? ( $php[-interbase] )                                                                                                                  
        sharedmem? ( $php[-threads] )                       
                                                                                                                                                        
-       !cli? ( !cgi? ( !apache2? ( !embed? ( $php[cli] ) ) ) )                                                                                         
+       !cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( $php[cli] ) ) ) ) )                                                                                                                                                                          
        enchant? ( !dev-php${PHP_MV}/pecl-enchant )                                                                                                     
        fileinfo? ( !<dev-php${PHP_MV}/pecl-fileinfo-1.0.4-r2 )
Comment 1 Ole Markus With (RETIRED) gentoo-dev 2010-12-25 09:17:44 UTC
Fixed in CVS. But note that without cli, you cannot install pecl or pear packages, so the usefulness of this may be limited.