summaryrefslogtreecommitdiff
path: root/devel/elftoolchain/patches/patch-am
blob: fc6022716e0761afb150bbee0b462752f1884ec1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-am,v 1.2 2018/10/01 12:36:35 ryoon Exp $

don't build tests for ordinary packaging

--- Makefile.orig	2016-02-07 11:39:17.000000000 +0000
+++ Makefile
@@ -33,9 +33,9 @@ SUBDIR += size
 SUBDIR += strings
 
 # Build the test suites.
-.if exists(${.CURDIR}/test) && defined(WITH_TESTS) && ${WITH_TESTS:tl} == "yes"
-SUBDIR += test
-.endif
+#.if exists(${.CURDIR}/test) && defined(WITH_TESTS) && ${WITH_TESTS:tl} == "yes"
+#SUBDIR += test
+#.endif
 
 # Build additional build tooling.
 .if defined(WITH_BUILD_TOOLS) && ${WITH_BUILD_TOOLS:tl} == "yes"
@@ -55,7 +55,7 @@ SUBDIR += documentation
 #
 
 # Run the test suites.
-.if exists(${.CURDIR}/test) && defined(WITH_TESTS) && ${WITH_TESTS:tl} == "yes"
-run-tests:	all .PHONY
-	(cd ${.CURDIR}/test; ${MAKE} test)
-.endif
+#.if exists(${.CURDIR}/test) && defined(WITH_TESTS) && ${WITH_TESTS:tl} == "yes"
+#run-tests:	all .PHONY
+#	(cd ${.CURDIR}/test; ${MAKE} test)
+#.endif