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

(-)/usr/portage/eclass/vmware-mod.eclass (-1 / +14 lines)
Lines 27-33 Link Here
27
# VMWARE_VER)
27
# VMWARE_VER)
28
# RESTRICT="userpriv"
28
# RESTRICT="userpriv"
29
29
30
EXPORT_FUNCTIONS pkg_setup src_unpack src_install 
30
EXPORT_FUNCTIONS pkg_setup src_unpack src_install src_compile
31
31
32
# Must define VMWARE_VER to make, otherwise it'll try and run getversion.pl
32
# Must define VMWARE_VER to make, otherwise it'll try and run getversion.pl
33
BUILD_TARGETS="auto-build VMWARE_VER=${VMWARE_VER}"
33
BUILD_TARGETS="auto-build VMWARE_VER=${VMWARE_VER}"
Lines 76-81 Link Here
76
	done
76
	done
77
}
77
}
78
78
79
vmware-mod_src_compile() {
80
	for mod in ${VMWARE_MODULE_LIST}; do
81
		emake auto-build \
82
			-C "${S}"/${mod}-only \
83
			HEADER_DIR=${KV_DIR}/include \
84
			CC="$(tc-getCC)" \
85
			GREP="/bin/grep" \
86
			IS_GCC_3="no" \
87
			ARCH=$(tc-arch-kernel) \
88
			KBUILD_OUTPUT="${KV_OUT_DIR}"
89
	done
90
}
91
79
vmware-mod_src_install() {
92
vmware-mod_src_install() {
80
	# this adds udev rules for vmmon*
93
	# this adds udev rules for vmmon*
81
	if [[ -n "`echo ${VMWARE_MODULE_LIST} | grep vmmon`" ]];
94
	if [[ -n "`echo ${VMWARE_MODULE_LIST} | grep vmmon`" ]];

Return to bug 142855