summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/bmake/bmake-20200318.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys-devel/bmake/bmake-20200318.ebuild b/sys-devel/bmake/bmake-20200318.ebuild
index c7915e164c03..c8d34b8e899c 100644
--- a/sys-devel/bmake/bmake-20200318.ebuild
+++ b/sys-devel/bmake/bmake-20200318.ebuild
@@ -32,7 +32,12 @@ src_compile() {
src_test() {
cd unit-tests || die
- LC_ALL=C env -u A "${S}"/bmake -r -m all || die "tests compilation failed"
+
+ # the 'ternary' test uses ${A} internally, which
+ # conflicts with Gentoo's ${A}, hence unset it for
+ # the tests temporarily.
+ env -u A MAKEFLAGS= \
+ "${S}"/bmake -r -m / TEST_MAKE="${S}"/bmake test || die "tests compilation failed"
}
src_install() {