xbps-src/build_dependencies: create XBPS_STATEDIR.

This fixes cross compilation of pkgs that depend on itself.
This commit is contained in:
Juan RP 2015-03-28 04:49:18 +01:00
parent 4166e9dd82
commit f7cd626a1c

View File

@ -82,6 +82,7 @@ setup_pkg_depends() {
install_pkg_from_repos() {
local pkg="$1" cross="$2" rval= tmplogf=
mkdir -p $XBPS_STATEDIR
tmplogf=${XBPS_STATEDIR}/xbps_${XBPS_TARGET_MACHINE}_bdep_${pkg}.log
if [ -n "$cross" ]; then