Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 554952 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.0.0.ebuild (-15 / +5 lines)
Lines 80-86 Link Here
80
	cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die
80
	cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die
81
81
82
	# stupid new header references...
82
	# stupid new header references...
83
	for vboxheader in {product,revision}-generated.h ; do
83
	for vboxheader in {version,product,revision}-generated.h ; do
84
		for mdir in vbox{guest,sf} ; do
84
		for mdir in vbox{guest,sf} ; do
85
			ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
85
			ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
86
				"${WORKDIR}/${mdir}/${vboxheader}"
86
				"${WORKDIR}/${mdir}/${vboxheader}"
Lines 110-129 Link Here
110
}
110
}
111
111
112
src_compile() {
112
src_compile() {
113
	for each in /src/VBox/{Runtime,Additions/common} \
113
	cd "${S}" || die
114
		/src/VBox/Additions/linux/sharedfolders ; do
114
	MAKE="kmk" \
115
			cd "${S}"${each} || die
115
	emake TOOL_YASM_AS=yasm \
116
			MAKE="kmk" \
116
	KBUILD_VERBOSE=2
117
			emake TOOL_YASM_AS=yasm \
118
			KBUILD_VERBOSE=2
119
	done
120
121
	if use X; then
122
		cd "${S}"/src/VBox/Additions/x11/VBoxClient || die
123
		MAKE="kmk" \
124
		emake TOOL_YASM_AS=yasm \
125
		KBUILD_PATH="${S}/kBuild"
126
	fi
127
117
128
	# Now creating the kernel modules. We must do this _after_
118
	# Now creating the kernel modules. We must do this _after_
129
	# we compiled the user-space tools as we need two of the
119
	# we compiled the user-space tools as we need two of the
(-)/usr/portage/app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions-5-localconfig (+2 lines)
Lines 28-30 Link Here
28
28
29
## don't build with -Werror
29
## don't build with -Werror
30
VBOX_WITH_WARNINGS_AS_ERRORS :=
30
VBOX_WITH_WARNINGS_AS_ERRORS :=
31
32
VBOX_WITH_X11_ADDITIONS :=

Return to bug 554952