commit:     caac0f8ddb674e9e0a831e4fa87fce53bd037e09
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 23 10:49:58 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jan 23 12:52:49 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caac0f8d

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.

 .../freebsd-sources/freebsd-sources-11.1_p2.ebuild   | 20 ++++++++++----------
 .../freebsd-sources/freebsd-sources-8.2-r2.ebuild    | 12 ++++++------
 .../freebsd-sources/freebsd-sources-9.1-r3.ebuild    | 12 ++++++------
 .../freebsd-sources/freebsd-sources-9.1-r9.ebuild    | 12 ++++++------
 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 f2ad5d2448f..32b3d46dc93 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 09f6a9fdbae..03ee1d16a6e 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 24bd4954790..fc852df1d6f 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 2c8d47fbe91..de5badfc6b2 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
 }

Reply via email to