summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-shells/ksh')
-rw-r--r--app-shells/ksh/ksh-2020.0.0.ebuild3
-rw-r--r--app-shells/ksh/ksh-9999.ebuild13
2 files changed, 15 insertions, 1 deletions
diff --git a/app-shells/ksh/ksh-2020.0.0.ebuild b/app-shells/ksh/ksh-2020.0.0.ebuild
index c2f9bb7797eb..6b40cd312997 100644
--- a/app-shells/ksh/ksh-2020.0.0.ebuild
+++ b/app-shells/ksh/ksh-2020.0.0.ebuild
@@ -30,12 +30,13 @@ PATCHES=(
)
src_test() {
+ # https://bugs.gentoo.org/702570
+ addwrite /proc/self
local cmd=(
meson test
-C "${BUILD_DIR}"
--num-processes "$(makeopts_jobs ${NINJAOPTS:-${MAKEOPTS}})"
)
-
echo "${cmd[@]}" >&2
# https://github.com/att/ast/issues/1392
env -u T "${cmd[@]}" || die
diff --git a/app-shells/ksh/ksh-9999.ebuild b/app-shells/ksh/ksh-9999.ebuild
index 2ccad3528bf3..9e136daa8efa 100644
--- a/app-shells/ksh/ksh-9999.ebuild
+++ b/app-shells/ksh/ksh-9999.ebuild
@@ -24,6 +24,19 @@ SLOT="0"
RDEPEND="!app-shells/pdksh"
+src_test() {
+ # https://bugs.gentoo.org/702570
+ addwrite /proc/self
+ local cmd=(
+ meson test
+ -C "${BUILD_DIR}"
+ --num-processes "$(makeopts_jobs ${NINJAOPTS:-${MAKEOPTS}})"
+ )
+ echo "${cmd[@]}" >&2
+ # https://github.com/att/ast/issues/1392
+ env -u T "${cmd[@]}" || die
+}
+
src_install() {
meson_src_install
dodir /bin