sys-freebsd/freebsd-sources: Comment out sparc-fbsd code
authorMichał Górny <mgorny@gentoo.org>
Tue, 23 Jan 2018 10:49:58 +0000 (11:49 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 23 Jan 2018 12:52:49 +0000 (13:52 +0100)
Comment out the code specific to sparc-fbsd. Since the arch is being
removed, 'use sparc-fbsd' will no longer be valid.

sys-freebsd/freebsd-sources/freebsd-sources-11.1_p2.ebuild
sys-freebsd/freebsd-sources/freebsd-sources-8.2-r2.ebuild
sys-freebsd/freebsd-sources/freebsd-sources-9.1-r3.ebuild
sys-freebsd/freebsd-sources/freebsd-sources-9.1-r9.ebuild

index f2ad5d2448fd3a9db59ba8c5cc07eeeba9f00120..32b3d46dc9358e3baecf17f748aeeeaf8307fb9a 100644 (file)
@@ -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."
index 09f6a9fdbaef898c7e68bdde334b6b83211ca5c6..03ee1d16a6edd00ad61b82937ab44d35d3e16869 100644 (file)
@@ -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
 }
index 24bd49547901d9eac1e9f69f5c557c605f67d415..fc852df1d6ffa6984d817cd133cdeb0b27212f05 100644 (file)
@@ -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
 }
index 2c8d47fbe913fb002c96e8b5076f013aa9840e11..de5badfc6b22ab7425a9a5ccfb61e16ac4da8999 100644 (file)
@@ -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
 }