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

(-)app-emulation/virtualbox/virtualbox-4.3.32.ebuild (+8 lines)
Lines 140-145 Link Here
140
	fi
140
	fi
141
	java-pkg-opt-2_pkg_setup
141
	java-pkg-opt-2_pkg_setup
142
	python-single-r1_pkg_setup
142
	python-single-r1_pkg_setup
143
144
	tc-ld-disable-gold #bug 488176
145
	tc-export CC CXX LD AR RANLIB
146
	export HOST_CC="$(tc-getBUILD_CC)"
143
}
147
}
144
148
145
src_prepare() {
149
src_prepare() {
Lines 154-159 Link Here
154
	sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \
158
	sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \
155
		-i Config.kmk src/libs/xpcom18a4/Config.kmk || die
159
		-i Config.kmk src/libs/xpcom18a4/Config.kmk || die
156
160
161
	# Do not use hard-coded ld (related to bug #488176)
162
	sed -e '/QUIET)ld /s/ld /$(LD) /' \
163
		-i src/VBox/Devices/PC/ipxe/Makefile.kmk || die
164
157
	# Use PAM only when pam USE flag is enbaled (bug #376531)
165
	# Use PAM only when pam USE flag is enbaled (bug #376531)
158
	if ! use pam ; then
166
	if ! use pam ; then
159
		elog "Disabling PAM removes the possibility to use the VRDP features."
167
		elog "Disabling PAM removes the possibility to use the VRDP features."

Return to bug 488176