aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-05-29 23:35:30 +0800
committerbapt <bapt@FreeBSD.org>2012-05-29 23:35:30 +0800
commitb5744c7ac75ec9349e7d366f31fdae6d7c107a06 (patch)
treeb95821b12d243982de326ccd7a5ad0a736cafa9e /Mk
parent78dde0a12df8877128d9b82a5bf4b14008c2b0fc (diff)
downloadfreebsd-ports-gnome-b5744c7ac75ec9349e7d366f31fdae6d7c107a06.tar.gz
freebsd-ports-gnome-b5744c7ac75ec9349e7d366f31fdae6d7c107a06.tar.zst
freebsd-ports-gnome-b5744c7ac75ec9349e7d366f31fdae6d7c107a06.zip
if user set OPTIONS_UNSET EXAMPLES they create NOPORTEXAMPLES variable for
compatibility With hat: portmgr
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 3b1d2209c709..40636247826f 100644
--- a/Mk/bsd.options.mk
+++ b/Mk/bsd.options.mk
@@ -147,6 +147,10 @@ PORT_OPTIONS:= ${PORT_OPTIONS:N${opt}}
NOPORTDOCS= yes
.endif
+.if empty(PORT_OPTIONS:MEXAMPLES)
+NOPORTEXAMPLES= yes
+.endif
+
.if empty(PORT_OPTIONS:MNLS)
WITHOUT_NLS= yes
.endif