diff options
author | bapt <bapt@FreeBSD.org> | 2012-06-05 14:03:36 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-06-05 14:03:36 +0800 |
commit | b8636259736cdcd5ea225b3ef572e841d89092f2 (patch) | |
tree | 71d24d044894054f63b478677f74d29642c8abf7 /Mk/bsd.options.mk | |
parent | 58a90df4a99f4c50b929d1ffeed6e63bd9d4652f (diff) | |
download | freebsd-ports-gnome-b8636259736cdcd5ea225b3ef572e841d89092f2.tar.gz freebsd-ports-gnome-b8636259736cdcd5ea225b3ef572e841d89092f2.tar.zst freebsd-ports-gnome-b8636259736cdcd5ea225b3ef572e841d89092f2.zip |
Allow NO_OPTIONS_SORT to work with old OPTIONS
Requested by: dougb@
Diffstat (limited to 'Mk/bsd.options.mk')
-rw-r--r-- | Mk/bsd.options.mk | 3 |
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} |