- Change default grep back to GNU version. BSD grep can be built with the

WITH_BSD_GREP knob.
- Bump __FreeBSD_version

Requested by:   dougb
Approved by:    delphij (mentor)
This commit is contained in:
Gabor Kovesdan 2010-08-23 10:04:26 +00:00
parent b3cdb67393
commit 6608cc579e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=211701
6 changed files with 12 additions and 12 deletions

View File

@ -28,6 +28,10 @@ _groff= groff
.endif
.endif
.if ${MK_BSD_GREP} != "yes"
_grep= grep
.endif
.if ${MK_CVS} != "no"
_cvs= cvs
.endif
@ -36,10 +40,6 @@ _cvs= cvs
_dtc= dtc
.endif
.if ${MK_GNU_GREP} != "no"
_grep= grep
.endif
.if ${MK_INFO} != "no"
_texinfo= texinfo
.endif

View File

@ -419,9 +419,9 @@ MK_${var}:= yes
BIND_LIBS \
BIND_SIGCHASE \
BIND_XML \
BSD_GREP \
${_clang_no} \
FDT \
GNU_GREP \
HESIOD \
IDEA
.if defined(WITH_${var}) && defined(WITHOUT_${var})

View File

@ -58,7 +58,7 @@
* in the range 5 to 9.
*/
#undef __FreeBSD_version
#define __FreeBSD_version 900016 /* Master, propagated to newvers */
#define __FreeBSD_version 900017 /* Master, propagated to newvers */
#ifndef LOCORE
#include <sys/types.h>

View File

@ -0,0 +1,2 @@
.\" $FreeBSD$
Build BSD-licensed grep instead of GNU grep.

View File

@ -1,2 +0,0 @@
.\" $FreeBSD$
Set to build the base system with GNU grep instead of BSD grep

View File

@ -277,6 +277,10 @@ _bluetooth= bluetooth
_cpio= cpio
.endif
.if ${MK_BSD_GREP} != "no"
_grep= grep
.endif
.if ${MK_CALENDAR} != "no"
_calendar= calendar
.endif
@ -285,10 +289,6 @@ _calendar= calendar
_clang= clang
.endif
.if ${MK_GNU_GREP} != "yes"
_grep= grep
.endif
.if ${MK_HESIOD} != "no"
_hesinfo= hesinfo
.endif