summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-10-08 14:21:10 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-10-08 14:21:10 +0000
commitbe25d1eef58d9f74977e8eaca7c702776485eb9a (patch)
treefbfbd22cd58d1a34a14f9d2edd0d0813e1a39bb1
parentFix the post-install message to only refer to ports that actually exist. (diff)
Enable TEST option if DEVELOPER is set
TEST option is used when a port needs extra depends or flags for build phase to enable tests (so TEST_DEPENDS don't work). Enable it by default for DEVELOPER builds, so interested parties and Q/A can have all tests available. Approved by: portmgr (bapt) Differential Revision: D3844
Notes
Notes: svn path=/head/; revision=398829
-rw-r--r--Mk/bsd.options.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mk/bsd.options.mk b/Mk/bsd.options.mk
index 6d89f7a4eb3d..401c87de1d28 100644
--- a/Mk/bsd.options.mk
+++ b/Mk/bsd.options.mk
@@ -189,6 +189,10 @@ WITHOUT+= EXAMPLES
OPTIONS_WARNINGS_UNSET+= EXAMPLES
.endif
+.if defined(DEVELOPER)
+PORT_OPTIONS+= TEST
+.endif
+
PORT_OPTIONS+= IPV6
# Add per arch options