Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349122 - dev-lang/php-5.3.4: SAPI=fpm forces SAPI=cli
Summary: dev-lang/php-5.3.4: SAPI=fpm forces SAPI=cli
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 348628
  Show dependency tree
 
Reported: 2010-12-19 20:51 UTC by Johan Bergström
Modified: 2010-12-25 09:17 UTC (History)
0 users

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 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.