Index: share/mk/src.opts.mk =================================================================== --- share/mk/src.opts.mk +++ share/mk/src.opts.mk @@ -100,7 +100,6 @@ GNU \ GNU_DIFF \ GNU_GREP \ - GNU_GREP_COMPAT \ GPIO \ GPL_DTC \ GROFF \ @@ -182,6 +181,7 @@ BSD_GREP \ CLANG_EXTRAS \ DTRACE_TESTS \ + GNU_GREP_COMPAT \ HESIOD \ LIBSOFT \ NAND \ Index: tools/build/options/WITHOUT_GNU_GREP_COMPAT =================================================================== --- tools/build/options/WITHOUT_GNU_GREP_COMPAT +++ /dev/null @@ -1,3 +0,0 @@ -.\" $FreeBSD$ -Set this option to omit the gnu extensions to grep from being included in -BSD grep. Index: tools/build/options/WITH_GNU_GREP_COMPAT =================================================================== --- /dev/null +++ tools/build/options/WITH_GNU_GREP_COMPAT @@ -0,0 +1,2 @@ +.\" $FreeBSD$ +Set this option to include the gnu extensions in BSD grep.