aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-10-08 22:21:10 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-10-08 22:21:10 +0800
commit2df9f9ac11f73da2ad7ccbd664db6ea6c08ba859 (patch)
treefbfbd22cd58d1a34a14f9d2edd0d0813e1a39bb1 /Mk
parent82ba745c28a0b5b997e519a4b59e4c384f4dc059 (diff)
downloadfreebsd-ports-gnome-2df9f9ac11f73da2ad7ccbd664db6ea6c08ba859.tar.gz
freebsd-ports-gnome-2df9f9ac11f73da2ad7ccbd664db6ea6c08ba859.tar.zst
freebsd-ports-gnome-2df9f9ac11f73da2ad7ccbd664db6ea6c08ba859.zip
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
Diffstat (limited to 'Mk')
-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