summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-01-23 11:49:58 +0100
committerMichał Górny <mgorny@gentoo.org>2018-01-23 13:52:49 +0100
commitcaac0f8ddb674e9e0a831e4fa87fce53bd037e09 (patch)
tree0bd3f8d62aec88e208f1e53339c744ddc2d2dd6e /sys-freebsd
parent*/*: Remove sparc-fbsd keywords (diff)
downloadgentoo-caac0f8ddb674e9e0a831e4fa87fce53bd037e09.tar.gz
gentoo-caac0f8ddb674e9e0a831e4fa87fce53bd037e09.tar.bz2
gentoo-caac0f8ddb674e9e0a831e4fa87fce53bd037e09.zip
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.
Diffstat (limited to 'sys-freebsd')
-rw-r--r--sys-freebsd/freebsd-sources/freebsd-sources-11.1_p2.ebuild20
-rw-r--r--sys-freebsd/freebsd-sources/freebsd-sources-8.2-r2.ebuild12
-rw-r--r--sys-freebsd/freebsd-sources/freebsd-sources-9.1-r3.ebuild12
-rw-r--r--sys-freebsd/freebsd-sources/freebsd-sources-9.1-r9.ebuild12
4 files changed, 28 insertions, 28 deletions
diff --git a/sys-freebsd/freebsd-sources/freebsd-sources-11.1_p2.ebuild b/sys-freebsd/freebsd-sources/freebsd-sources-11.1_p2.ebuild
index f2ad5d2448fd..32b3d46dc935 100644
--- a/sys-freebsd/freebsd-sources/freebsd-sources-11.1_p2.ebuild
+++ b/sys-freebsd/freebsd-sources/freebsd-sources-11.1_p2.ebuild
@@ -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."
diff --git a/sys-freebsd/freebsd-sources/freebsd-sources-8.2-r2.ebuild b/sys-freebsd/freebsd-sources/freebsd-sources-8.2-r2.ebuild
index 09f6a9fdbaef..03ee1d16a6ed 100644
--- a/sys-freebsd/freebsd-sources/freebsd-sources-8.2-r2.ebuild
+++ b/sys-freebsd/freebsd-sources/freebsd-sources-8.2-r2.ebuild
@@ -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
}
diff --git a/sys-freebsd/freebsd-sources/freebsd-sources-9.1-r3.ebuild b/sys-freebsd/freebsd-sources/freebsd-sources-9.1-r3.ebuild
index 24bd49547901..fc852df1d6ff 100644
--- a/sys-freebsd/freebsd-sources/freebsd-sources-9.1-r3.ebuild
+++ b/sys-freebsd/freebsd-sources/freebsd-sources-9.1-r3.ebuild
@@ -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
}
diff --git a/sys-freebsd/freebsd-sources/freebsd-sources-9.1-r9.ebuild b/sys-freebsd/freebsd-sources/freebsd-sources-9.1-r9.ebuild
index 2c8d47fbe913..de5badfc6b22 100644
--- a/sys-freebsd/freebsd-sources/freebsd-sources-9.1-r9.ebuild
+++ b/sys-freebsd/freebsd-sources/freebsd-sources-9.1-r9.ebuild
@@ -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
}