mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-02 06:10:40 +08:00
One more fix for homebrew on 10.12
This commit is contained in:
parent
b54dd26557
commit
1f65f3cace
@ -1,12 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
brew update -v
|
|
||||||
|
|
||||||
# These two commands are only needed on 10.12:
|
# These two commands are only needed on 10.12:
|
||||||
rm -rf /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask
|
rm -rf /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask
|
||||||
brew uninstall --force postgis cgal sfcgal
|
brew uninstall --force postgis cgal sfcgal
|
||||||
|
|
||||||
|
brew update -v
|
||||||
|
|
||||||
brew install boost || brew upgrade boost
|
brew install boost || brew upgrade boost
|
||||||
brew install perl || brew upgrade perl
|
brew install perl || brew upgrade perl
|
||||||
brew install cpanminus || brew upgrade cpanminus
|
brew install cpanminus || brew upgrade cpanminus
|
||||||
@ -19,7 +19,6 @@ perl ./Build.PL
|
|||||||
|
|
||||||
# remove X11 because otherwise OpenGL.pm will link libglut.3.dylib instead of GLUT.framework
|
# remove X11 because otherwise OpenGL.pm will link libglut.3.dylib instead of GLUT.framework
|
||||||
sudo rm -rf /opt/X11*
|
sudo rm -rf /opt/X11*
|
||||||
cpanm --local-lib local-lib --reinstall OpenGL # this updates the cache, remove it after one commit
|
|
||||||
|
|
||||||
export LIBRARY_PATH=/usr/local/lib
|
export LIBRARY_PATH=/usr/local/lib
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user