default_pre_build &&
cd "${SOURCE_DIRECTORY}" &&
apply_patch_dir patches &&
# XXX fixup POSIX_PATH test if getconf is unavailable
if ! command -pv getconf >/dev/null; then
  sedit '/^\tPOSIX_PATH=/{s@=.*@=/bin:/usr/bin@}' configure
fi &&
patch_bundled_libtool config.aux/ltmain.sh
