default_pre_build      &&
cd $SOURCE_DIRECTORY   &&
# disable tests, as the makefile is bad
sed -i "s/glut test/glut/" Makefile &&

if [ $(installed_version glibc | cut -d. -f2) -gt 9 ]; then
  patch -p0 < $SPELL_DIRECTORY/fltk2-gcc44.patch
fi
