xbps-src: repair build/configure targets in chroot.
--HG-- extra : convert_revision : b4a21b4621d0114a22eaf686a60896f3f088a69e
This commit is contained in:
parent
371b5c4314
commit
9d29d2d001
1 changed files with 4 additions and 2 deletions
|
@ -175,12 +175,14 @@ fi
|
||||||
case "$target" in
|
case "$target" in
|
||||||
build|configure)
|
build|configure)
|
||||||
. $XBPS_SHUTILSDIR/tmpl_funcs.sh
|
. $XBPS_SHUTILSDIR/tmpl_funcs.sh
|
||||||
setup_tmpl $(basename_cwd)
|
[ ! -r ./template ] && msg_error "missing build template file."
|
||||||
|
. ./template
|
||||||
|
|
||||||
if [ -z "$base_chroot" -a -z "$in_chroot" ]; then
|
if [ -z "$base_chroot" -a -z "$in_chroot" ]; then
|
||||||
. $XBPS_SHUTILSDIR/chroot.sh
|
. $XBPS_SHUTILSDIR/chroot.sh
|
||||||
xbps_chroot_handler $target $pkgname
|
xbps_chroot_handler $target $(basename_cwd)
|
||||||
else
|
else
|
||||||
|
setup_tmpl $(basename_cwd)
|
||||||
. $XBPS_SHUTILSDIR/fetch_funcs.sh
|
. $XBPS_SHUTILSDIR/fetch_funcs.sh
|
||||||
fetch_distfiles
|
fetch_distfiles
|
||||||
if [ ! -f "$XBPS_EXTRACT_DONE" ]; then
|
if [ ! -f "$XBPS_EXTRACT_DONE" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue