Skip to content
Snippets Groups Projects
Commit 756d23cf authored by Fons Rademakers's avatar Fons Rademakers
Browse files

if on MacOS X /opt/local exists assume MacPorts is installed and use that

instead of Fink.


git-svn-id: http://root.cern.ch/svn/root/trunk@35166 27541ba8-7e3a-0410-8455-c3a389f83636
parent 19eb5c0e
No related branches found
No related tags found
No related merge requests found
......@@ -1491,6 +1491,12 @@ if test "x$platform" = "xmacosx" ; then
finkdir=`$cwhich fink 2>&1 | sed -ne "s/\/bin\/fink//p"`
logmsg "$finkdir"
if test -d /opt/local; then
logmsg "Checking MacPorts directory"
finkdir=/opt/local
logmsg "$finkdir"
fi
if [ `sw_vers | sed -n 's/ProductVersion://p' | cut -d . -f 2` -ge 5 ]; then
macosx105=yes
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment