diff --git a/share/shpkg/shpkg.subr b/share/shpkg/shpkg.subr
index 4de10e2..d51ddfb 100644
--- a/share/shpkg/shpkg.subr
+++ b/share/shpkg/shpkg.subr
@@ -507,6 +507,7 @@ shpkg_configure () {
SHPKG_REPO_SRC_DIR="${SHPKG_SRC_DIR}/${SHPKG_REPO_DIR}"
SHPKG_REPO_VERSION="$(shpkg_version "${SHPKG_REPO}")"
if shpkg__tag_is_absent configure-done; then
+ verbose 2 shpkg_ci_status "${SHPKG_REPO}.configure.status" running
( verbose 2 shpkg_tag_log "${SHPKG_REPO}.configure.log"; )
( verbose 2 shpkg_autogen "${SHPKG_REPO}"; )
SHPKG_REPO_VERSION="$(shpkg_version "${SHPKG_REPO}")"
@@ -515,14 +516,17 @@ shpkg_configure () {
fi
if [ -x "${SHPKG_REPO_SRC_DIR}/configure" ]; then
( verbose 1 cd "${SHPKG_REPO_SRC_DIR}"
- verbose 1 ./configure --prefix "${SHPKG_PREFIX}" )
+ verbose 1 ./configure --prefix "${SHPKG_PREFIX}"
+ exit $?; )
elif [ -x "${SHPKG_REPO_SRC_DIR}/configure.sh" ]; then
( verbose 1 cd "${SHPKG_REPO_SRC_DIR}"
- verbose 1 ./configure.sh --prefix "${SHPKG_PREFIX}"; )
+ verbose 1 ./configure.sh --prefix "${SHPKG_PREFIX}"
+ exit $?; )
elif [ -f "${SHPKG_REPO_SRC_DIR}/CMakeLists.txt" ]; then
verbose 1 cmake -S "${SHPKG_REPO_SRC_DIR}" -B "${SHPKG_OBJ_DIR}/${SHPKG_REPO_DIR}" -D CMAKE_INSTALL_PREFIX:PATH="${SHPKG_PREFIX}" -D BUILD_SHARED_LIBS=ON
fi
shpkg__tag_write configure-done
+ verbose 2 shpkg_ci_status "${SHPKG_REPO}.configure.status" ok
fi
done
}