aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.options.mk
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2012-05-29 23:19:59 +0800
committermiwi <miwi@FreeBSD.org>2012-05-29 23:19:59 +0800
commit767ad3416ec544f197d57156c5287a66f8a8f83d (patch)
tree644e00312881b10a277210b419d17155b37dced4 /Mk/bsd.options.mk
parentd01195823e7ed782944c193ee6d18f72e731f551 (diff)
downloadfreebsd-ports-graphics-767ad3416ec544f197d57156c5287a66f8a8f83d.tar.gz
freebsd-ports-graphics-767ad3416ec544f197d57156c5287a66f8a8f83d.tar.zst
freebsd-ports-graphics-767ad3416ec544f197d57156c5287a66f8a8f83d.zip
- Do not activate EXAMPLES by default if NOPORTEXAMPELS is set
- Add shared EXAMPES descriptions With hat: portmgr
Diffstat (limited to 'Mk/bsd.options.mk')
-rw-r--r--Mk/bsd.options.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/Mk/bsd.options.mk b/Mk/bsd.options.mk
index 9d96cbc32c6..3b1d2209c70 100644
--- a/Mk/bsd.options.mk
+++ b/Mk/bsd.options.mk
@@ -19,6 +19,11 @@ PORT_OPTIONS+= DOCS
.endif
PORT_OPTIONS+= NLS
+# Set the default values for the global options, as defined by portmgr
+.if !defined(NOPORTEXAMPLES)
+PORT_OPTIONS+= EXAMPLES
+.endif
+
# Append options set by the port Makefile
.for opt in ${OPTIONS_DEFINE}
ALL_OPTIONS+= ${opt}