Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161469493
D11078.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D11078.diff
View Options
Index: head/Mk/bsd.options.mk
===================================================================
--- head/Mk/bsd.options.mk
+++ head/Mk/bsd.options.mk
@@ -124,6 +124,13 @@
# Option enabled -D${content}=false
# Option disabled -D${content}=true
#
+# ${opt}_MESON_YES Will add to MESON_ARGS:
+# Option enabled -D${content}=yes
+# Option disabled -D${content}=no
+# ${opt}_MESON_NO Will add to MESON_ARGS:
+# Option enabled -D${content}=no
+# Option disabled -D${content}=yes
+#
# ${opt}_IMPLIES When opt is enabled, options named in IMPLIES will
# get enabled too.
# ${opt}_PREVENTS When opt is enabled, if any options in PREVENTS are
@@ -539,6 +546,12 @@
. if defined(${opt}_MESON_FALSE)
MESON_ARGS+= ${${opt}_MESON_FALSE:C/.*/-D&=false/}
. endif
+. if defined(${opt}_MESON_YES)
+MESON_ARGS+= ${${opt}_MESON_YES:C/.*/-D&=yes/}
+. endif
+. if defined(${opt}_MESON_NO)
+MESON_ARGS+= ${${opt}_MESON_NO:C/.*/-D&=no/}
+. endif
. for configure in CONFIGURE CMAKE MESON QMAKE
. if defined(${opt}_${configure}_ON)
${configure}_ARGS+= ${${opt}_${configure}_ON}
@@ -594,6 +607,12 @@
. endif
. if defined(${opt}_MESON_FALSE)
MESON_ARGS+= ${${opt}_MESON_FALSE:C/.*/-D&=true/}
+. endif
+. if defined(${opt}_MESON_YES)
+MESON_ARGS+= ${${opt}_MESON_YES:C/.*/-D&=no/}
+. endif
+. if defined(${opt}_MESON_NO)
+MESON_ARGS+= ${${opt}_MESON_NO:C/.*/-D&=yes/}
. endif
. for configure in CONFIGURE CMAKE MESON QMAKE
. if defined(${opt}_${configure}_OFF)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jul 5, 2:54 AM (1 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34687740
Default Alt Text
D11078.diff (1 KB)
Attached To
Mode
D11078: Add yes/no option helpers for meson
Attached
Detach File
Event Timeline
Log In to Comment