Merge pull request #1305 from Pmodules/1304-recipe-for-building-module-distclean-before-configure

bugfix: distclean before configure in module recipe
This commit is contained in:
2025-10-29 15:52:07 +01:00
committed by GitHub
co-authored by GitHub
+4
View File
@@ -9,6 +9,9 @@ DOWNLOAD_URL="https://amas.web.psi.ch/Downloads/$P/$P-$V.tar.bz2"
source "$(dirname "$0")/librecipes.bash"
cd "${SRC_DIR}"
make distclean
#---
# configure
mkdir -p "${BUILD_DIR}" && cd "$_" || exit ${PB_ERR_SYSTEM}
@@ -24,6 +27,7 @@ case $(uname -s) in
exit ${PB_ERR_SYSTEM}
;;
esac
CPPFLAGS="-DUSE_INTERP_ERRORLINE" \
"${SRC_DIR}"/configure \
--prefix="${PREFIX}" \