Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 466344
Collapse All | Expand All

(-)app-emulation/vagrant/vagrant-1.2.2.ebuild (-3 / +11 lines)
Lines 19-32 Link Here
19
LICENSE="MIT"
19
LICENSE="MIT"
20
SLOT="0"
20
SLOT="0"
21
KEYWORDS="~amd64 ~x86 ~x64-macos"
21
KEYWORDS="~amd64 ~x86 ~x64-macos"
22
IUSE="test"
22
IUSE="+virtualbox test"
23
23
24
# Missing ebuild for contest
24
# Missing ebuild for contest
25
RESTRICT="test"
25
RESTRICT="test"
26
26
27
RDEPEND="${RDEPEND}
27
RDEPEND="${RDEPEND}
28
        net-misc/curl
28
        net-misc/curl
29
        !x64-macos? ( || ( app-emulation/virtualbox app-emulation/virtualbox-bin ) )"
29
        virtualbox? ( !x64-macos? ( || ( app-emulation/virtualbox app-emulation/virtualbox-bin ) ) )"
30
30
31
ruby_add_rdepend "
31
ruby_add_rdepend "
32
        >=dev-ruby/childprocess-0.3.7
32
        >=dev-ruby/childprocess-0.3.7
Lines 55-62 Link Here
55
        epatch "${FILESDIR}"/${PN}-1.2.1-no-warning.patch
55
        epatch "${FILESDIR}"/${PN}-1.2.1-no-warning.patch
56
}
56
}
57
57
58
each_ruby_install() {
59
        if ! use virtualbox ; then
60
                rm -rf plugins/providers/virtualbox/
61
        fi
62
63
        each_fakegem_install
64
}
65
58
pkg_postinst() {
66
pkg_postinst() {
59
        if use x64-macos ; then
67
        if use virtualbox && use x64-macos ; then
60
                ewarn
68
                ewarn
61
                ewarn "For Mac OS X prefixes, you must install the virtualbox"
69
                ewarn "For Mac OS X prefixes, you must install the virtualbox"
62
                ewarn "package specifically for OS X which can be found at:"
70
                ewarn "package specifically for OS X which can be found at:"

Return to bug 466344