Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Commit

Permalink
r-base: Fix macOS PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
mingwandroid committed Jan 18, 2017
1 parent 21b393c commit 28d3837
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions r-base/build.sh
Expand Up @@ -320,8 +320,6 @@ Darwin() {
# DYLD_FALLBACK_LIBRARY_PATH and LDFLAGS for different stages of configure.
export LDFLAGS=$LDFLAGS" -L${PREFIX}"

export PATH=$PREFIX/bin:/usr/bin:/bin:/usr/sbin:/sbin

cat >> config.site <<EOF
CC=clang
CXX=clang++
Expand All @@ -334,6 +332,12 @@ EOF
# unknown timezone 'GMT'
# https://stat.ethz.ch/pipermail/r-devel/2014-April/068745.html

echo $PATH | grep texlive > /dev/null 2>&1
if [[ $? != 0 ]]; then
echo "no texlive in PATH, refusing to build this, conda or conda-build are buggy or tex failed to install or something"
exit 1
fi

./configure --prefix=$PREFIX \
--with-blas="-framework Accelerate" \
--with-lapack \
Expand Down

0 comments on commit 28d3837

Please sign in to comment.