[dev-libs/Ice] fix USE="doc"

This commit is contained in:
Robert Förster 2016-04-20 10:19:39 +02:00
parent 906803430b
commit b23911b5fe
2 changed files with 1 additions and 14 deletions

View File

@ -202,10 +202,6 @@ src_compile() {
emake -C cpp ${MAKE_RULES} || die "emake failed" emake -C cpp ${MAKE_RULES} || die "emake failed"
if use doc ; then
emake -C cpp/doc || die "building docs failed"
fi
if use php; then if use php; then
local slot local slot
for slot in $(php_get_slots); do for slot in $(php_get_slots); do
@ -290,7 +286,6 @@ src_install() {
fi fi
if use doc ; then if use doc ; then
dohtml -r cpp/doc/reference/*
dodoc "${DISTDIR}/${PN}-3.6.1.pdf" dodoc "${DISTDIR}/${PN}-3.6.1.pdf"
fi fi

View File

@ -31,7 +31,7 @@ HOMEPAGE="http://www.zeroc.com/"
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0/36" SLOT="0/36"
KEYWORDS="" KEYWORDS=""
IUSE="doc examples libressl +ncurses mono php php_namespaces python ruby test debug" IUSE="examples libressl +ncurses mono php php_namespaces python ruby test debug"
RDEPEND=">=dev-libs/expat-2.0.1 RDEPEND=">=dev-libs/expat-2.0.1
>=app-arch/bzip2-1.0.5 >=app-arch/bzip2-1.0.5
@ -207,10 +207,6 @@ src_compile() {
emake -C cpp ${MAKE_RULES} || die "emake failed" emake -C cpp ${MAKE_RULES} || die "emake failed"
if use doc ; then
emake -C cpp/doc || die "building docs failed"
fi
if use php; then if use php; then
local slot local slot
for slot in $(php_get_slots); do for slot in $(php_get_slots); do
@ -294,10 +290,6 @@ src_install() {
doins cpp/config/*.cfg doins cpp/config/*.cfg
fi fi
if use doc ; then
dohtml -r cpp/doc/reference/*
fi
if use php ; then if use php ; then
insinto "/usr/share/php/${PN}" insinto "/usr/share/php/${PN}"
doins $(cd php/lib; find "${S}"/php/lib/ -name '*.php' -print) doins $(cd php/lib; find "${S}"/php/lib/ -name '*.php' -print)