From aeeee02367c1336e8f94dbebe58d2fd980f8850e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20F=C3=B6rster?= Date: Thu, 21 Jan 2016 00:02:13 +0100 Subject: [PATCH] [dev-libs/Ice] don't unconditionally depend on php --- dev-libs/Ice/Ice-3.6.1.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dev-libs/Ice/Ice-3.6.1.ebuild b/dev-libs/Ice/Ice-3.6.1.ebuild index 2c0691e..c4774ec 100644 --- a/dev-libs/Ice/Ice-3.6.1.ebuild +++ b/dev-libs/Ice/Ice-3.6.1.ebuild @@ -19,7 +19,7 @@ PHP_EXT_OPTIONAL_USE=php USE_PHP="php5-6" -inherit toolchain-funcs versionator php-ext-source-r2 php-lib-r1 python-r1 mono-env ruby-ng db-use +inherit toolchain-funcs versionator php-ext-source-r2 python-r1 mono-env ruby-ng db-use DESCRIPTION="ICE middleware C++ library and generator tools" HOMEPAGE="http://www.zeroc.com/" @@ -211,7 +211,8 @@ src_install() { fi if use php ; then - php-lib-r1_src_install php/lib $(cd php/lib; find . -name '*.php' -print) + insinto "/usr/share/php/${PN}" + doins $(cd php/lib; find ${S}/php/lib/ -name '*.php' -print) for dir in $( cd ${D}/usr/share/${P}/slice ; ls -1 ); do mkdir -p ${D}/usr/share/php/${dir} ${D}/usr/bin/slice2php -I${D}/usr/share/${P}/slice/ --all --output-dir ${D}/usr/share/php/${dir} --ice ${D}/usr/share/${P}/slice/${dir}/*