Travis: Fix automake on macOS

Temporary workaround for distuninstallcheck error.
This commit is contained in:
Masanori Kakura
2018-08-12 15:27:00 +09:00
parent 910c4c6aab
commit 797bde1e3c
+7
View File
@@ -35,6 +35,13 @@ before_install: |
brew link --force gettext
brew install intltool
brew upgrade python
# distuninstallcheck fails on macOS when automake 1.16 or 1.16.1 is used.
# http://gnu-automake.7480.n7.nabble.com/bug-31222-automake-1-16-1-am-pep3147-tweak-bug-td22937.html
# No upstream release yet, use upstream patch.
pushd /usr/local/Cellar/automake/*/share/automake-*
curl "https://git.savannah.gnu.org/cgit/automake.git/patch/?id=a348d830659fffd2cfc42994524783b07e69b4b5" | tail -n 14 | sudo patch -p2
popd
fi
install: