git: 43ebfaa30d8d - main - shells/modernish: Make the build more verbose
Mateusz Piotrowski
0mp at FreeBSD.org
Thu Apr 15 11:25:37 UTC 2021
The branch main has been updated by 0mp:
URL: https://cgit.FreeBSD.org/ports/commit/?id=43ebfaa30d8d8744bf0e345ab29cd133640740e4
commit 43ebfaa30d8d8744bf0e345ab29cd133640740e4
Author: Mateusz Piotrowski <0mp at FreeBSD.org>
AuthorDate: 2021-04-15 11:23:03 +0000
Commit: Mateusz Piotrowski <0mp at FreeBSD.org>
CommitDate: 2021-04-15 11:23:03 +0000
shells/modernish: Make the build more verbose
Our official poudriere instances fail to build this port for unknown
reasons. Let's get some additional logs in order to fix the issue.
Reported by: pkg-fallout
---
shells/modernish/Makefile | 2 +-
shells/modernish/files/patch-install.sh | 11 +++++++++++
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/shells/modernish/Makefile b/shells/modernish/Makefile
index c5e9666474ec..9c9a1e4958b7 100644
--- a/shells/modernish/Makefile
+++ b/shells/modernish/Makefile
@@ -18,7 +18,7 @@ OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
cd ${WRKSRC} && \
- ${SETENV} ${MAKE_ENV} ./install.sh -d ${PREFIX} -D ${STAGEDIR} -n -s ${SH}
+ ${SETENV} ${MAKE_ENV} ${SH} -x ./install.sh -d ${PREFIX} -D ${STAGEDIR} -n -s ${SH}
${RM} ${STAGEDIR}${DOCSDIR}/LICENSE
${MKDIR} ${STAGEDIR}${EXAMPLESDIR:H}
diff --git a/shells/modernish/files/patch-install.sh b/shells/modernish/files/patch-install.sh
new file mode 100644
index 000000000000..9f59425be61e
--- /dev/null
+++ b/shells/modernish/files/patch-install.sh
@@ -0,0 +1,11 @@
+--- install.sh.orig 2021-04-15 11:21:11 UTC
++++ install.sh
+@@ -119,7 +119,7 @@ case ${opt_s+s} in
+ ( * ) MSH_SHELL=$opt_s
+ export MSH_SHELL
+ echo "Relaunching ${0##*/} with $MSH_SHELL..." >&2
+- exec "$MSH_SHELL" "$MSH_PREFIX/${0##*/}" --relaunch "$@" ;;
++ exec "$MSH_SHELL" -x "$MSH_PREFIX/${0##*/}" --relaunch "$@" ;;
+ esac ;;
+ esac
+
More information about the dev-commits-ports-all
mailing list