X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/ed021630df742435f7b8b0b3d21e74d9bab6e182..c949d94f4b1de64ff54973d75a57959759333469:/scripts/setup-mac.sh diff --git a/scripts/setup-mac.sh b/scripts/setup-mac.sh index 6ce6cb89..380a5765 100755 --- a/scripts/setup-mac.sh +++ b/scripts/setup-mac.sh @@ -1,6 +1,11 @@ #!/bin/sh set -e -u +# Remaining mac build issues: +# - perl does not build +# - strace does not build +# - dpkg calls ldconfig + command -v brew >/dev/null 2>&1 || { echo >&2 "Install homebrew first: http://brew.sh" exit 1 @@ -20,6 +25,8 @@ brew install $PACKAGES # bison is keg-only, but we need updated 'bison' in path: brew link bison --force +# gettext is also key-only, but we need msgfmt for apt and glib: +brew link gettext --force sudo mkdir -p /data/data/com.termux/files/usr sudo chown -R `whoami` /data