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

(-)a/glu-9.0.0.ebuild (+12 lines)
Lines 44-49 Link Here
44
	fi
44
	fi
45
}
45
}
46
46
47
pkg_setup() {
48
	if [[ ${MERGE_TYPE} != buildonly ]] && has collision-protect ${FEATURES}; then
49
		if [[ $(readlink "${EPREFIX}"/usr/$(get_libdir)/libGLU$(get_libname)) == *opengl* ]]; then
50
			eerror "FEATURES=\"collision protect\" is enabled, which will prevent overwriting"
51
			eerror "symlinks that were formerly managed by eselect opengl. You must disable"
52
			eerror "collision-protect or remove ${EPREFIX}/usr/$(get_libdir)/libGLU$(get_libname)*"
53
			eerror "manually. For details see bug #435682."
54
			die "collision-protect cannot overwrite libGLU$(get_libname)*"
55
		fi
56
	fi
57
}
58
47
src_unpack() {
59
src_unpack() {
48
	default
60
	default
49
	[[ $PV = 9999* ]] && git-2_src_unpack
61
	[[ $PV = 9999* ]] && git-2_src_unpack

Return to bug 435682