xbps-src/build_dependencies: create XBPS_STATEDIR.
This fixes cross compilation of pkgs that depend on itself.
This commit is contained in:
parent
4166e9dd82
commit
f7cd626a1c
1 changed files with 1 additions and 0 deletions
|
@ -82,6 +82,7 @@ setup_pkg_depends() {
|
||||||
install_pkg_from_repos() {
|
install_pkg_from_repos() {
|
||||||
local pkg="$1" cross="$2" rval= tmplogf=
|
local pkg="$1" cross="$2" rval= tmplogf=
|
||||||
|
|
||||||
|
mkdir -p $XBPS_STATEDIR
|
||||||
tmplogf=${XBPS_STATEDIR}/xbps_${XBPS_TARGET_MACHINE}_bdep_${pkg}.log
|
tmplogf=${XBPS_STATEDIR}/xbps_${XBPS_TARGET_MACHINE}_bdep_${pkg}.log
|
||||||
|
|
||||||
if [ -n "$cross" ]; then
|
if [ -n "$cross" ]; then
|
||||||
|
|
Loading…
Reference in a new issue