This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] use shasum instead of sha512sum on FreeBSD and DragonFly
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Andreas Tobler <andreast at gcc dot gnu dot org>, John Marino <gnugcc at marino dot st>
- Date: Mon, 15 Jan 2018 12:59:58 +0000
- Subject: [PATCH] use shasum instead of sha512sum on FreeBSD and DragonFly
- Authentication-results: sourceware.org; auth=none
boru on Freenode's #gcc channel pointed out that
contrib/download_prerequisites should use shasum for FreeBSD, not
sha512sum (which comes from GNU coreutils on GNU/Linux). I checked
FreeBSD 11.0 and 10.2 and neither has sha512sum, not does DragonFly
4.2, another FreeBSD derivative.
OK for trunk?
diff --git a/contrib/download_prerequisites b/contrib/download_prerequisites
index ae0b5ffeb32..b50f47cda79 100755
--- a/contrib/download_prerequisites
+++ b/contrib/download_prerequisites
@@ -47,7 +47,7 @@ force=0
OS=$(uname)
case $OS in
- "Darwin")
+ "Darwin"|"FreeBSD"|"DragonFly")
chksum='shasum -a 512 --check'
;;
*)