summaryrefslogtreecommitdiffstats
path: root/utils/gnuplot/PRE_BUILD
blob: 4e9ad8f9f0379b0bf064fe056b0f2218aaeeb9b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
default_pre_build    &&
cd "$SOURCE_DIRECTORY" &&
# Fix build that thinks we are cross-compiling.
# Hopefully fixed in gnuplot 4.7 .
patch -Np0 < "$SPELL_DIRECTORY/crossbuild.patch" &&

if [[ $GNUPLOT_BRANCH == scm ]]; then
  cd "$SOURCE_DIRECTORY" &&
  ./prepare
fi