|
Lines 11-17
ESVN_REPO_URI="http://virtualbox.org/svn
Link Here
|
| 11 |
LICENSE="GPL-2" |
11 |
LICENSE="GPL-2" |
| 12 |
SLOT="0" |
12 |
SLOT="0" |
| 13 |
KEYWORDS="~amd64 ~x86" |
13 |
KEYWORDS="~amd64 ~x86" |
| 14 |
IUSE="additions nowrapper sdk vboxbfe vditool" |
14 |
IUSE="additions hal nowrapper sdk vboxbfe vditool" |
| 15 |
|
15 |
|
| 16 |
RDEPEND="!app-emulation/virtualbox-bin |
16 |
RDEPEND="!app-emulation/virtualbox-bin |
| 17 |
dev-libs/libIDL |
17 |
dev-libs/libIDL |
|
Lines 28-34
DEPEND="${RDEPEND}
Link Here
|
| 28 |
sys-power/iasl |
28 |
sys-power/iasl |
| 29 |
>=media-libs/alsa-lib-1.0.13" |
29 |
>=media-libs/alsa-lib-1.0.13" |
| 30 |
RDEPEND="${RDEPEND} |
30 |
RDEPEND="${RDEPEND} |
| 31 |
additions? ( app-emulation/virtualbox-additions )" |
31 |
additions? ( app-emulation/virtualbox-additions ) |
|
|
32 |
hal? ( sys-apps/hal )" |
| 32 |
|
33 |
|
| 33 |
BUILD_TARGETS="all" |
34 |
BUILD_TARGETS="all" |
| 34 |
MODULE_NAMES="vboxdrv(misc:${S}/out/linux.${ARCH}/release/bin/src:${S}/out/linux.${ARCH}/release/bin/src)" |
35 |
MODULE_NAMES="vboxdrv(misc:${S}/out/linux.${ARCH}/release/bin/src:${S}/out/linux.${ARCH}/release/bin/src)" |
|
Lines 48-54
pkg_setup() {
Link Here
|
| 48 |
|
49 |
|
| 49 |
src_compile() { |
50 |
src_compile() { |
| 50 |
cd "${S}" |
51 |
cd "${S}" |
| 51 |
./configure || die "configure failed" |
52 |
vbconf="" |
|
|
53 |
if !(use hal); then |
| 54 |
vbconf="--without-hal" |
| 55 |
fi |
| 56 |
./configure ${vbconf} || die "configure failed" |
| 52 |
source ./env.sh |
57 |
source ./env.sh |
| 53 |
|
58 |
|
| 54 |
# Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529) |
59 |
# Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529) |