xbps-src/build.sh: only skip building/installing deps for target pkg with -N.
This commit is contained in:
parent
5bc8c995ed
commit
a8962ace18
1 changed files with 2 additions and 2 deletions
|
@ -28,8 +28,8 @@ check_pkg_arch $XBPS_CROSS_BUILD
|
||||||
install_cross_pkg $XBPS_CROSS_BUILD
|
install_cross_pkg $XBPS_CROSS_BUILD
|
||||||
|
|
||||||
# Install dependencies from binary packages
|
# Install dependencies from binary packages
|
||||||
if [ -z "$XBPS_SKIP_DEPS" ]; then
|
if [ "$PKGNAME" != "$TARGET_PKG" -o -z "$XBPS_SKIP_DEPS" ]; then
|
||||||
install_pkg_deps $PKGNAME $TARGET_PKG $TARGET $XBPS_CROSS_BUILD || exit 1
|
install_pkg_deps $PKGNAME $TARGET_PKG pkg $XBPS_CROSS_BUILD || exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Fetch distfiles after installing required dependencies,
|
# Fetch distfiles after installing required dependencies,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue