aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.options.mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-06-05 06:03:36 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-06-05 06:03:36 +0000
commited18e382be5a47243f60917cb20676451e2bbb1e (patch)
tree2d4f000918605346aab0ad8bb6dd9f70b3250a3b /Mk/bsd.options.mk
parent8d2bcfffdadd52b10a01f8f29e25d5d1d8fad08b (diff)
downloadports-ed18e382be5a47243f60917cb20676451e2bbb1e.tar.gz
ports-ed18e382be5a47243f60917cb20676451e2bbb1e.zip
Notes
Diffstat (limited to 'Mk/bsd.options.mk')
-rw-r--r--Mk/bsd.options.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Mk/bsd.options.mk b/Mk/bsd.options.mk
index cad2f00ade4c..a43603f02c7b 100644
--- a/Mk/bsd.options.mk
+++ b/Mk/bsd.options.mk
@@ -47,6 +47,9 @@ opt:= ${O}
. if !defined(optname)
optname:= ${O}
ALL_OPTIONS+= ${O}
+.if !defined(OPTIONS_DEFINE) || empty(OPTIONS_DEFINE:M${O})
+OPTIONS_DEFINE+= ${O}
+.endif
PORT_OPTIONS+= ${O}
. elif !defined(optdesc)
optdesc:= ${opt}