Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F171405189
D10114.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
D10114.diff
View Options
Index: head/share/man/man5/src.conf.5
===================================================================
--- head/share/man/man5/src.conf.5
+++ head/share/man/man5/src.conf.5
@@ -732,9 +732,10 @@
.It Va WITHOUT_GNU_GREP
Set to not build GNU
.Xr grep 1 .
-.It Va WITHOUT_GNU_GREP_COMPAT
-Set this option to omit the gnu extensions to grep from being included in
-BSD grep.
+.It Va WITH_GNU_GREP_COMPAT
+Set this option to include GNU extensions in
+.Xr bsdgrep 1
+by linking against libgnuregex.
.It Va WITHOUT_GPIO
Set to not build
.Xr gpioctl 8
Index: head/share/mk/src.opts.mk
===================================================================
--- head/share/mk/src.opts.mk
+++ head/share/mk/src.opts.mk
@@ -99,7 +99,6 @@
GCOV \
GNU_DIFF \
GNU_GREP \
- GNU_GREP_COMPAT \
GPIO \
GPL_DTC \
GROFF \
@@ -181,6 +180,7 @@
BSD_GREP \
CLANG_EXTRAS \
DTRACE_TESTS \
+ GNU_GREP_COMPAT \
HESIOD \
LIBSOFT \
NAND \
Index: head/tools/build/options/WITH_GNU_GREP_COMPAT
===================================================================
--- head/tools/build/options/WITH_GNU_GREP_COMPAT
+++ head/tools/build/options/WITH_GNU_GREP_COMPAT
@@ -0,0 +1,4 @@
+.\" $FreeBSD$
+Set this option to include GNU extensions in
+.Xr bsdgrep 1
+by linking against libgnuregex.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Sep 11, 10:56 PM (20 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38697802
Default Alt Text
D10114.diff (1 KB)
Attached To
Mode
D10114: Switch to WITH_GNU_GREP_COMPAT knob instead of WITHOUT_GNU_GREP_COMPAT
Attached
Detach File
Event Timeline
Log In to Comment