xbps-src: show_pkg_build_depends: handle cross case.
This commit is contained in:
parent
a73783d17d
commit
ad3d1f862d
|
@ -68,8 +68,10 @@ show_pkg_build_depends() {
|
||||||
|
|
||||||
# build time deps
|
# build time deps
|
||||||
for f in ${_deps}; do
|
for f in ${_deps}; do
|
||||||
# ignore dependency on itself
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
[[ $f == $sourcepkg ]] && continue
|
# ignore dependency on itself
|
||||||
|
[[ $f == $sourcepkg ]] && continue
|
||||||
|
fi
|
||||||
if [ ! -f $XBPS_SRCPKGDIR/$f/template ]; then
|
if [ ! -f $XBPS_SRCPKGDIR/$f/template ]; then
|
||||||
msg_error "$pkgver: dependency '$f' does not exist!\n"
|
msg_error "$pkgver: dependency '$f' does not exist!\n"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue