summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-03-11 22:50:31 +0100
committerLars Wendler <polynomial-c@gentoo.org>2016-03-11 22:50:53 +0100
commit4d14c9f62d34eac09789cb2857d89975dcb5d909 (patch)
tree907034ff5a3f54aada317a8f74cd4bbc7478c4dc /app-emulation
parenteclass: Update SRC_URI in kde4-base (diff)
downloadgentoo-4d14c9f62d34eac09789cb2857d89975dcb5d909.tar.gz
gentoo-4d14c9f62d34eac09789cb2857d89975dcb5d909.tar.bz2
gentoo-4d14c9f62d34eac09789cb2857d89975dcb5d909.zip
app-emulation/virtualbox: Fixed USE="java" installation (bug #577080).
Package-Manager: portage-2.2.28 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/virtualbox/virtualbox-5.0.16-r1.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/app-emulation/virtualbox/virtualbox-5.0.16-r1.ebuild b/app-emulation/virtualbox/virtualbox-5.0.16-r1.ebuild
index c842c91a5a21..52335e121881 100644
--- a/app-emulation/virtualbox/virtualbox-5.0.16-r1.ebuild
+++ b/app-emulation/virtualbox/virtualbox-5.0.16-r1.ebuild
@@ -343,10 +343,6 @@ src_install() {
popd &>/dev/null || die
fi
- if use java ; then
- java-pkg_regjar "${D}${vbox_inst_path}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
- java-pkg_regso "${D}${vbox_inst_path}/libvboxjxpcom.so"
- fi
if use lvm ; then
vbox_inst VBoxVolInfo 4750
@@ -356,6 +352,11 @@ src_install() {
if use sdk ; then
insinto ${vbox_inst_path}
doins -r sdk
+
+ if use java ; then
+ java-pkg_regjar "${D}${vbox_inst_path}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
+ java-pkg_regso "${D}${vbox_inst_path}/libvboxjxpcom.so"
+ fi
fi
if use udev ; then