default_pre_build &&
cd ${SOURCE_DIRECTORY} &&
verify_file 2 &&

# Apply Debians pump patchset - they fix things good :)
gzip -dc < ${SOURCE_CACHE}/${SOURCE2} | patch -p1 &&

if [[ "${PUMP_FEATURES}" == "y" ]]; then
  # Enable the -m (--route-metric) option to specify the default
  # metric applied to routes
  # Enable the --keep-up option to keep interfaces up when we release
  # Enable the creation of /etc/ntp.conf and the --no-ntp option
  patch -p1 < ${SPELL_DIRECTORY}/${SPELL}-${VERSION}-gentoo.patch
fi &&

# Add an if defined around the definition of foo, just like in popt.h
patch -p1 < ${SPELL_DIRECTORY}/${SPELL}-${VERSION}-redefinition.patch  &&

sedit  's:-Wall::g'  $SOURCE_DIRECTORY/Makefile
