app-emulation/virtualbox: Attempt to fix bug #555370
authorLars Wendler <polynomial-c@gentoo.org>
Thu, 10 Sep 2015 21:00:52 +0000 (23:00 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Thu, 10 Sep 2015 21:01:38 +0000 (23:01 +0200)
It seems on no-multilib systems some files are not generated.

Package-Manager: portage-2.2.20.1
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
app-emulation/virtualbox/virtualbox-5.0.4.ebuild

index ffd4b84f24b6058b8e2dde8a0d07fbeb00aaf0de..b10c4612172297af8a5aa67d60d5222677f5e694 100644 (file)
@@ -267,12 +267,12 @@ src_install() {
                newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
        fi
 
-       #local gcfiles="*gc"
-       #if use amd64 && ! has_multilib_profile ; then
-       #       gcfiles=""
-       #fi
+       local rcfiles="*.rc"
+       if use amd64 && ! has_multilib_profile ; then
+               rcfiles=""
+       fi
 
-       for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,ExtPackHelperApp} *so *r0 *.rc ; do
+       for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,ExtPackHelperApp} *so *r0 ${rcfiles} ; do
                doins ${each}
                fowners root:vboxusers /usr/$(get_libdir)/${PN}/${each}
                fperms 0750 /usr/$(get_libdir)/${PN}/${each}