mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-04 00:08:09 -07:00
sys-freebsd/freebsd-sources: Comment out sparc-fbsd code
Comment out the code specific to sparc-fbsd. Since the arch is being removed, 'use sparc-fbsd' will no longer be valid.
This commit is contained in:
@@ -137,18 +137,18 @@ pkg_preinst() {
|
||||
rm -f "${ROOT}/usr/src/sys"
|
||||
fi
|
||||
|
||||
if use sparc-fbsd ; then
|
||||
ewarn "WARNING: kldload currently causes kernel panics"
|
||||
ewarn "on sparc64. This is probably a gcc-4.1 issue, but"
|
||||
ewarn "we need gcc-4.1 to compile the kernel correctly :/"
|
||||
ewarn "Please compile all modules you need into the kernel"
|
||||
fi
|
||||
# if use sparc-fbsd ; then
|
||||
# ewarn "WARNING: kldload currently causes kernel panics"
|
||||
# ewarn "on sparc64. This is probably a gcc-4.1 issue, but"
|
||||
# ewarn "we need gcc-4.1 to compile the kernel correctly :/"
|
||||
# ewarn "Please compile all modules you need into the kernel"
|
||||
# fi
|
||||
|
||||
ewarn "If you want to manually compile (not recommended), please don't forget the following steps."
|
||||
if ! use sparc-fbsd ; then
|
||||
ewarn "export CC=clang"
|
||||
ewarn "export CXX=clang++"
|
||||
fi
|
||||
# if ! use sparc-fbsd ; then
|
||||
# ewarn "export CC=clang"
|
||||
# ewarn "export CXX=clang++"
|
||||
# fi
|
||||
if ! use zfs ; then
|
||||
ewarn "export WITHOUT_CDDL="
|
||||
ewarn "Note, Please set USE=zfs if you want to enable modules under the CDDL."
|
||||
|
||||
@@ -99,10 +99,10 @@ pkg_postinst() {
|
||||
eerror "Couldn't create ${ROOT}/usr/src/sys-${RV} symlink."
|
||||
fi
|
||||
|
||||
if use sparc-fbsd ; then
|
||||
ewarn "WARNING: kldload currently causes kernel panics"
|
||||
ewarn "on sparc64. This is probably a gcc-4.1 issue, but"
|
||||
ewarn "we need gcc-4.1 to compile the kernel correctly :/"
|
||||
ewarn "Please compile all modules you need into the kernel"
|
||||
fi
|
||||
# if use sparc-fbsd ; then
|
||||
# ewarn "WARNING: kldload currently causes kernel panics"
|
||||
# ewarn "on sparc64. This is probably a gcc-4.1 issue, but"
|
||||
# ewarn "we need gcc-4.1 to compile the kernel correctly :/"
|
||||
# ewarn "Please compile all modules you need into the kernel"
|
||||
# fi
|
||||
}
|
||||
|
||||
@@ -74,10 +74,10 @@ pkg_postinst() {
|
||||
eerror "Couldn't create ${ROOT}/usr/src/sys symlink."
|
||||
fi
|
||||
|
||||
if use sparc-fbsd ; then
|
||||
ewarn "WARNING: kldload currently causes kernel panics"
|
||||
ewarn "on sparc64. This is probably a gcc-4.1 issue, but"
|
||||
ewarn "we need gcc-4.1 to compile the kernel correctly :/"
|
||||
ewarn "Please compile all modules you need into the kernel"
|
||||
fi
|
||||
# if use sparc-fbsd ; then
|
||||
# ewarn "WARNING: kldload currently causes kernel panics"
|
||||
# ewarn "on sparc64. This is probably a gcc-4.1 issue, but"
|
||||
# ewarn "we need gcc-4.1 to compile the kernel correctly :/"
|
||||
# ewarn "Please compile all modules you need into the kernel"
|
||||
# fi
|
||||
}
|
||||
|
||||
@@ -87,10 +87,10 @@ pkg_postinst() {
|
||||
eerror "Couldn't create ${ROOT}/usr/src/sys symlink."
|
||||
fi
|
||||
|
||||
if use sparc-fbsd ; then
|
||||
ewarn "WARNING: kldload currently causes kernel panics"
|
||||
ewarn "on sparc64. This is probably a gcc-4.1 issue, but"
|
||||
ewarn "we need gcc-4.1 to compile the kernel correctly :/"
|
||||
ewarn "Please compile all modules you need into the kernel"
|
||||
fi
|
||||
# if use sparc-fbsd ; then
|
||||
# ewarn "WARNING: kldload currently causes kernel panics"
|
||||
# ewarn "on sparc64. This is probably a gcc-4.1 issue, but"
|
||||
# ewarn "we need gcc-4.1 to compile the kernel correctly :/"
|
||||
# ewarn "Please compile all modules you need into the kernel"
|
||||
# fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user