Skip to content

Commit bfd9d98

Browse files
authored
Merge pull request #644 from kakurasan/travis_automake_mac
Travis: Fix automake on macOS
2 parents 910c4c6 + 797bde1 commit bfd9d98

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.travis.yml

+7
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ before_install: |
3535
brew link --force gettext
3636
brew install intltool
3737
brew upgrade python
38+
39+
# distuninstallcheck fails on macOS when automake 1.16 or 1.16.1 is used.
40+
# http://gnu-automake.7480.n7.nabble.com/bug-31222-automake-1-16-1-am-pep3147-tweak-bug-td22937.html
41+
# No upstream release yet, use upstream patch.
42+
pushd /usr/local/Cellar/automake/*/share/automake-*
43+
curl "https://git.savannah.gnu.org/cgit/automake.git/patch/?id=a348d830659fffd2cfc42994524783b07e69b4b5" | tail -n 14 | sudo patch -p2
44+
popd
3845
fi
3946
4047
install:

0 commit comments

Comments
 (0)