summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/bmake/Makefile4
-rw-r--r--devel/bmake/files/extrapatch-unit-tests_Makefile11
2 files changed, 15 insertions, 0 deletions
diff --git a/devel/bmake/Makefile b/devel/bmake/Makefile
index 30274d998872..1bb9d03597b6 100644
--- a/devel/bmake/Makefile
+++ b/devel/bmake/Makefile
@@ -17,6 +17,10 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
MAKE_ENV+= CONFIG_SITE=${CONFIG_SITE}
+.if defined(BATCH)
+EXTRA_PATCHES= ${FILESDIR}/extrapatch-unit-tests_Makefile
+.endif
+
post-patch: .SILENT
${REINPLACE_CMD} 's/^\.Nx/NetBSD/' ${WRKDIR}/bmake/bmake.1
diff --git a/devel/bmake/files/extrapatch-unit-tests_Makefile b/devel/bmake/files/extrapatch-unit-tests_Makefile
new file mode 100644
index 000000000000..891268ce7600
--- /dev/null
+++ b/devel/bmake/files/extrapatch-unit-tests_Makefile
@@ -0,0 +1,11 @@
+--- unit-tests/Makefile.orig 2020-10-05 03:28:18 UTC
++++ unit-tests/Makefile
+@@ -36,7 +36,7 @@
+ # src/tests/usr.bin/make/t_make.sh as well.
+ TESTS+= # archive # broken on FreeBSD, enabled in t_make.sh
+ TESTS+= archive-suffix
+-TESTS+= cmd-interrupt
++TESTS+= # cmd-interrupt
+ TESTS+= cmdline
+ TESTS+= comment
+ TESTS+= cond-cmp-numeric