aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/grep/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* gnu: remove gnugrep and libgnuregexKyle Evans2020-12-251-58/+0
| | | | Differential Revision: https://reviews.freebsd.org/D27732
* build: provide a default WARNS for all in-tree buildsKyle Evans2020-09-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | The current default is provided in various Makefile.inc in some top-level directories and covers a good portion of the tree, but doesn't cover parts of the build a little deeper (e.g. libcasper). Provide a default in src.sys.mk and set WARNS to it in bsd.sys.mk if that variable is defined. This lets us relatively cleanly provide a default WARNS no matter where you're building in the src tree without breaking things outside of the tree. Crunchgen has been updated as a bootstrap tool to work on this change because it needs r365605 at a minimum to succeed. The cleanup necessary to successfully walk over this change on WITHOUT_CLEAN builds has been added. There is a supplemental project to this to list all of the warnings that are encountered when the environment has WARNS=6 NO_WERROR=yes: https://warns.kevans.dev -- this project will hopefully eventually go away in favor of CI doing a much better job than it. Reviewed by: emaste, brooks, ngie (all earlier version) Reviewed by: emaste, arichardson (depend-cleanup.sh change) Differential Revision: https://reviews.freebsd.org/D26455 Notes: svn path=/head/; revision=365887
* Use a script wrapper for <compress>grepBaptiste Daroussin2018-04-251-13/+0
| | | | | | | | | | | | | | | | | | | | | Import the wrapper script from zstdgrep (written by wiz@netbsd.org) Modify it to support more than just zstd (adding support for gzip, lzma, xz and bzip2) Write a simple manpage dedicated for it. Only use that new wrapper both for gnu grep and bsd grep Next step will be removing code related to compression format from bsdgrep Reviewed by: kevans Approved by: kevans MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D15193 Notes: svn path=/head/; revision=332993
* Utilize SYSROOT from r320119 in places where DESTDIR may be wanting WORLDTMP.Bryan Drewery2017-06-191-1/+1
| | | | | | | | | | | | | | Since buildenv exports SYSROOT all of these uses will now look in WORLDTMP by default. sys/boot/efi/loader/Makefile A LIBSTAND hack is no longer required for buildenv. MFC after: 2 weeks Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=320122
* Add a ${CP} alias for copying files in the build.Will Andrews2015-01-161-1/+1
| | | | | | | | | | | | | | | | | Some users build FreeBSD as non-root in Perforce workspaces. By default, Perforce sets files read-only unless they're explicitly being edited. As a result, the -f argument must be used to cp in order to override the read-only flag when copying source files to object directories. Bare use of 'cp' should be avoided in the future. Update all current users of 'cp' in the src tree. Reviewed by: emaste MFC after: 1 week Sponsored by: Spectra Logic Notes: svn path=/head/; revision=277273
* Remove GNU texinfo from base along with all info pages.Baptiste Daroussin2015-01-021-2/+0
| | | | | | | | | | | | To be able to info pages consider installing texinfo from ports print/texinfo or via pkg: pkg install texinfo Differential Revision: https://reviews.freebsd.org/D1409 Reviewed by: emaste, imp (previous version) Relnotes: yes Notes: svn path=/head/; revision=276551
* Convert to LIBADDBaptiste Daroussin2014-11-251-4/+2
| | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275077
* Add gnugrep.1 to CLEANFILES.Glen Barber2014-08-261-0/+1
| | | | | | | | MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=270668
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-061-1/+1
| | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* Adjust CFLAGS to pick up correct regex.h and posix/regex.h. Note thisJung-uk Kim2013-06-061-2/+1
| | | | | | | | | actually reverts r250860 and r250861. Reported by: gjb, tinderbox Notes: svn path=/head/; revision=251468
* Connect libgnuregex 2.17 to the build.Jung-uk Kim2013-06-051-1/+2
| | | | Notes: svn path=/head/; revision=251438
* Don't look for headers outside of the source or object directories. InMarcel Moolenaar2013-05-211-1/+1
| | | | | | | | | | particular, don't use DESTDIR. Such creates an unnecessary dependency on the build machine. Obtained from: Juniper Networks, Inc. Notes: svn path=/head/; revision=250861
* Build and install a BSD licensed grep.David E. O'Brien2011-05-251-0/+15
| | | | | | | | | | | If WITH_BSD_GREP is not set, it will be 'bsdgrep' and GNUgrep will be '[ef]grep'. Otherwise, BSD-grep will be the grep family, and GNUgrep will be 'gnugrep'. Discussed with: brooks Notes: svn path=/head/; revision=222273
* Update for grep 2.5.1.Tim J. Robbins2004-07-041-2/+4
| | | | Notes: svn path=/head/; revision=131558
* Merge conflicts, upgradeAndrey A. Chernov2004-03-011-1/+1
| | | | Notes: svn path=/head/; revision=126435
* Oops, use -I${DESTDIR}/usr/include/gnu instead of ... /../../include/gnuAndrey A. Chernov2004-02-171-1/+1
| | | | Notes: svn path=/head/; revision=125931
* 1) Remove files no longer needed.Andrey A. Chernov2004-02-161-2/+2
| | | | | | | 2) Switch back to regex.h Notes: svn path=/head/; revision=125894
* Fixed style of DPADD and LDADD assignments as per style.Makefile(5).Ruslan Ermilov2004-02-051-4/+2
| | | | Notes: svn path=/head/; revision=125503
* We HAVE_STPCPY now.David E. O'Brien2002-10-201-2/+1
| | | | Notes: svn path=/head/; revision=105502
* Create bzgrep.David E. O'Brien2002-09-161-0/+7
| | | | Notes: svn path=/head/; revision=103372
* Back out previous revision because someone upgraded ourRuslan Ermilov2000-01-181-3/+1
| | | | | | | texinfo system to one that understands "command{foo}". Notes: svn path=/head/; revision=56234
* Turn off GNU Info docs until someone upgrades our texinfo system to oneDavid E. O'Brien2000-01-041-1/+3
| | | | | | | that understands "command{foo}". Notes: svn path=/head/; revision=55381
* Make the tests work again.David E. O'Brien1999-11-221-2/+2
| | | | Notes: svn path=/head/; revision=53571
* Finish proper hookup of GNU Grep 2.3, including docs & config header file,David E. O'Brien1999-11-221-22/+35
| | | | | | | | | rather than the compile commandline from hell. Submitted by: ru Notes: svn path=/head/; revision=53567
* Apply a bandaid to the grep Makefile to try and get it to compile and stopPeter Wemm1999-11-211-2/+3
| | | | | | | breaking world. Notes: svn path=/head/; revision=53496
* Back out the botched attempt to update to gnu grep 2.3 (lots of historyPeter Wemm1999-11-201-31/+14
| | | | | | | | | | was lost). Restore original version to try and avoid breaking the build while David O'brien does a proper set of imports and merges. Requested by: obrien Notes: svn path=/head/; revision=53451
* Upgrade grep to version 2.3Ruslan Ermilov1999-10-281-14/+31
| | | | Notes: svn path=/head/; revision=52591
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
| | | | Notes: svn path=/head/; revision=50472
* Added myself as maintainer.Wolfram Schneider1999-02-091-1/+3
| | | | Notes: svn path=/head/; revision=43805
* Use mmap for reading files. This is faster than read().Wolfram Schneider1998-11-141-2/+2
| | | | Notes: svn path=/head/; revision=41155
* Install z*grep manpagesDavid E. O'Brien1998-10-021-1/+2
| | | | Notes: svn path=/head/; revision=39886
* Delete cc(1) debug option, typo from last commit.Wolfram Schneider1998-03-071-2/+1
| | | | | | | Pointed out by: Søren Schmidt Notes: svn path=/head/; revision=34189
* When called as `zgrep', the -Z argument is assumed. Make aWolfram Schneider1997-12-211-1/+5
| | | | | | | | | | link from zgrep to grep. Pointed out by: Tim Vanderhoek <hoek@hwcn.org> and Mike Smith <mike@smith.net.au> Notes: svn path=/head/; revision=31928
* Added builtin decompression using zlib library, option -Z.Wolfram Schneider1997-12-201-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | Enabled this new feature with the makefile variable GREP_LIBZ. If you don't like it, compile with `make GREP_LIBZ='. grep + zlib has several advantages: - the shell script zgrep(1) will be basically a one line exec grep -Z "$@" - no shell script, no bugs. The current zgrep implementations have many bugs and some grep options are no supported. - no shell script, no security risks. - it is a magnitude faster than a shell script Also fixed: 0 -> STDIN_FILENO Close a file descriptor only if the open call was successfully. It does not hurt for the open(2) function, but the gzclose(3) function died in free() to free up (not) allocated memory. Notes: svn path=/head/; revision=31900
* recursive grep, enabled with -DHAVE_FTS=1Wolfram Schneider1996-02-021-1/+1
| | | | | | | enable mmap (-DHAVE_MMAP=1) Notes: svn path=/head/; revision=13847
* Use -lgnuregexAndrey A. Chernov1995-01-111-1/+4
| | | | | | | Tune for 8bit ctype Notes: svn path=/head/; revision=5498
* Merge. Fix LINKS+= with $DESTDIR$BINDIR in them, you do NOT need toRodney W. Grimes1993-07-161-2/+2
| | | | | | | specify $DESTDIR on a LINKS+= line. Notes: svn path=/head/; revision=130
* Gnu grep 2.0 does fgrep too!J.T. Conklin1993-07-081-4/+5
| | | | Notes: svn path=/head/; revision=107
* Removed egrep since the new grep is just a link to it w/out any changesNate Williams1993-07-061-1/+2
| | | | | | | anymore Notes: svn path=/head/; revision=98
* Left an ugly in the MakefileNate Williams1993-07-061-1/+0
| | | | Notes: svn path=/head/; revision=97
* Update GNU grep to version 2.0Nate Williams1993-07-061-4/+10
| | | | Notes: svn path=/head/; revision=94
* Ugh, whoever did the port made a mess, I cleaned up the Makefile andNate Williams1993-06-291-1/+1
| | | | | | | deleted un-necessary stuff Notes: svn path=/head/; revision=65
* Gnu e?grep 1.6vendor/misc-GNU/grep/1.6Nate Williams1993-06-291-0/+7
Notes: svn path=/vendor/misc-GNU/dist1/; revision=61 svn path=/vendor/misc-GNU/GREP_1_6/; revision=63; tag=vendor/misc-GNU/grep/1.6