dev-ada/gnatcoll: Fix build of gnatcoll-2016

Package-Manager: Portage-2.3.6, Repoman-2.3.1
This commit is contained in:
Tupone Alfredo
2017-07-14 08:15:07 +02:00
parent 37bc6ecf67
commit 1f17fa0e8a

View File

@@ -101,10 +101,6 @@ src_compile() {
emake PROCESSORS=$(makeopts_jobs) GPRBUILD_OPTIONS=-v GCC=${GCC} \
build_library_type/static
fi
if use tools; then
emake PROCESSORS=$(makeopts_jobs) GPRBUILD_OPTIONS=-v GCC=${GCC} \
build_tools/static
fi
python_fix_shebang .
}
@@ -115,18 +111,9 @@ src_install() {
if use static; then
emake prefix="${D}usr" install_library_type/static
fi
if use tools; then
emake prefix="${D}usr" install_tools/static
fi
emake prefix="${D}usr" install_gps_plugin
einstalldocs
dodoc -r features-* known-problems-*
mv "${D}"/usr/share/doc/${PN}/GNATColl.pdf "${D}"/usr/share/doc/${PF}/
mv "${D}"/usr/share/doc/${PN}/html/html "${D}"/usr/share/doc/${PF}/
mv "${D}"/usr/share/examples/${PN} "${D}"/usr/share/doc/${PF}/examples
rm -rf "${D}"/usr/share/doc/${PN}
rmdir "${D}"/usr/share/examples
docompress -x /usr/share/doc/${PF}/examples
}
src_test() {