) || return 1
fi
return 0
}
function apply_patches() {
local patch
:
for patch in "${patchdir}/all"/${pkg}-${version}-*.diff "${patchdir}/${TCL_VERSION}"/${pkg}-${version}-*.diff; do
if [ ! -f "${patch}" ]; then
continue
fi
echo "Applying: ${patch}"
( cd "${workdir}" && ${PATCH:-patch} -p1 ) < "${patch}" || return 1
done
return 0
}
function preconfigure() {
:
}
function configure() {