aboutsummaryrefslogtreecommitdiff
path: root/system/ksh-openbsd/ksh-openbsd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/ksh-openbsd/ksh-openbsd.SlackBuild')
-rw-r--r--system/ksh-openbsd/ksh-openbsd.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/system/ksh-openbsd/ksh-openbsd.SlackBuild b/system/ksh-openbsd/ksh-openbsd.SlackBuild
index 14ff80f834d0..de6c73ff57c1 100644
--- a/system/ksh-openbsd/ksh-openbsd.SlackBuild
+++ b/system/ksh-openbsd/ksh-openbsd.SlackBuild
@@ -82,7 +82,14 @@ find -L . \
-exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS $(getconf LFS_CFLAGS)" make
-make check
+
+# 20230810 bkw: tired of this thing hanging when run in the background
+# as part of a long queue.
+case "$(ps -o stat= -p $$)" in
+ *+*) make check ;; # running in foreground
+ *) echo '*** Not running "make check" because we are in the background.' ;;
+esac
+
make install DESTDIR=$PKG
if [ -n "${PDKSH_BINNAME}" ];then