[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] Use fetch and gmake on FreeBSD, gmake on all BSDs
From: |
Pietro Cerutti |
Subject: |
Re: [patch] Use fetch and gmake on FreeBSD, gmake on all BSDs |
Date: |
Wed, 23 Oct 2024 07:07:45 +0000 |
User-agent: |
NeoMutt/20241002-24-af3843 |
aargh I don't know why I get all my gits wrong these days.
See the correct path attached.
On Oct 22 2024, 10:37 +0000, Pietro Cerutti <gahr@gahr.ch> wrote:
This makes bootstrap.sh usable out of the box on FreeBSD.
--
Pietro Cerutti
I have pledged to give 10% of income to effective charities
and invite you to join me - https://givingwhatwecan.org
From aa4ddd416e73d14c5e5bdc6ad4da5647fe34bead Mon Sep 17 00:00:00 2001
From: Pietro Cerutti <gahr@gahr.ch>
Date: Tue, 22 Oct 2024 10:13:12 +0000
Subject: [PATCH] Use fetch and gmake on FreeBSD, gmake on all BSDs
---
scripts/bootstrap.sh | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh
index 370292db..1f1c9822 100755
--- a/scripts/bootstrap.sh
+++ b/scripts/bootstrap.sh
@@ -4,16 +4,14 @@ set -e
# build 6.0.0-bootstrap tarball
+getcmd=wget
+mkcmd=make
case "$(uname)" in
FreeBSD)
- mkcmd=gmake
- getcmd=fetch;;
+ getcmd=fetch
+ mkcmd=gmake;;
*BSD)
- mkcmd=gmake
- getcmd=wget;;
- *)
- mkcmd=make
- getcmd=wget;;
+ mkcmd=gmake;;
esac
mkdir -p boot/snapshot
--
2.46.1
--
Pietro Cerutti
I have pledged to give 10% of income to effective charities
and invite you to join me - https://givingwhatwecan.org
0001-Use-fetch-and-gmake-on-FreeBSD-gmake-on-all-BSDs.patch
Description: Text document