Update setup-mac.sh
authorFredrik Fornwall <fredrik@fornwall.net>
Sun, 19 Jun 2016 22:21:39 +0000 (00:21 +0200)
committerFredrik Fornwall <fredrik@fornwall.net>
Sun, 19 Jun 2016 22:21:39 +0000 (00:21 +0200)
scripts/setup-mac.sh

index 6ce6cb8..380a576 100755 (executable)
@@ -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