mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:07:35 +00:00
Build: Modify various parts to allow the build to succeed on FreeBSD
This commit is contained in:
parent
a82c56f9f7
commit
b4790010a8
5 changed files with 11 additions and 6 deletions
|
@ -12,10 +12,11 @@ window_gid=13
|
|||
|
||||
CP="cp"
|
||||
|
||||
# cp on macOS does not support the -d option.
|
||||
# cp on macOS and BSD systems do not support the -d option.
|
||||
# gcp comes with coreutils, which is already a dependency.
|
||||
if [ "$(uname -s)" = "Darwin" ]; then
|
||||
CP=gcp
|
||||
OS="$(uname -s)"
|
||||
if [ "$OS" = "Darwin" ] || echo "$OS" | grep -qe 'BSD$'; then
|
||||
CP="gcp"
|
||||
fi
|
||||
|
||||
die() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue