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

Collapse All | Expand All

(-)a/freebsd-sources-9.2_rc1.ebuild (-5 / +5 lines)
Lines 86-91 src_compile() { Link Here
86
}
86
}
87
87
88
src_install() {
88
src_install() {
89
	if [[ -L "${ROOT}/usr/src/sys" ]]; then
90
		einfo "/usr/src/sys is a symlink, removing it..."
91
		rm -f "${ROOT}/usr/src/sys"
92
	fi
93
89
	if use build-generic ; then
94
	if use build-generic ; then
90
		cd "${S}/$(tc-arch-kernel)/compile/${KERN_BUILD}" || die
95
		cd "${S}/$(tc-arch-kernel)/compile/${KERN_BUILD}" || die
91
		freebsd_src_install
96
		freebsd_src_install
Lines 98-108 src_install() { Link Here
98
}
103
}
99
104
100
pkg_preinst() {
105
pkg_preinst() {
101
	if [[ -L "${ROOT}/usr/src/sys" ]]; then
102
		einfo "/usr/src/sys is a symlink, removing it..."
103
		rm -f "${ROOT}/usr/src/sys"
104
	fi
105
106
	if use sparc-fbsd ; then
106
	if use sparc-fbsd ; then
107
		ewarn "WARNING: kldload currently causes kernel panics"
107
		ewarn "WARNING: kldload currently causes kernel panics"
108
		ewarn "on sparc64. This is probably a gcc-4.1 issue, but"
108
		ewarn "on sparc64. This is probably a gcc-4.1 issue, but"

Return to bug 481766