xbps-src: use install_pkg() for configure and build targets too.
This commit is contained in:
@@ -117,10 +117,16 @@ install_pkg()
|
||||
|
||||
if [ ! -f "$XBPS_CONFIGURE_DONE" ]; then
|
||||
configure_src_phase || return $?
|
||||
if [ "$INSTALL_TARGET" = "configure" ]; then
|
||||
return 0
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ! -f "$XBPS_BUILD_DONE" ]; then
|
||||
build_src_phase || return $?
|
||||
if [ "$INSTALL_TARGET" = "build" ]; then
|
||||
return 0
|
||||
fi
|
||||
fi
|
||||
|
||||
# Install pkg into destdir.
|
||||
|
||||
Reference in New Issue
Block a user