--- trunk/include/php.sminc 2014/08/21 13:52:18 22055 +++ trunk/include/php.sminc 2016/01/15 09:54:22 27428 @@ -13,8 +13,12 @@ : ${PHP_PEAR_DIR="/usr/share/php/pear"} # some sane default dependencies -DEPEND="${DEPEND} - >= dev-lang/php-5.4" +# but do not include on the php pkg itself +if [[ ${PNAME} != php ]] +then + DEPEND="${DEPEND} + >= dev-lang/php-5.4" +fi SDEPEND="${SDEPEND} >= sys-dev/m4-1.4