Changing USE_PHP="php5-5 php5-4" to USE_PHP="php5-6 php5-5 php5-4" works for me.
29 May 2015; Ian Delaney <idella4@gentoo.org> pecl-gearman-1.0.2-r1.ebuild: add support for PHP 5.6, fixes bug #550258