===> The following configuration options are available for gnugrep-3.12:
COMPAT=off: Create g-prefixless compatibility symlinks
ICONV=on: Encoding conversion support via iconv
LIBSIGSEGV=off: Use alternative page fault handler (GNU libsigsegv)
NLS=on: Native Language Support
PCRE=on: Use Perl Compatible Regular Expressions
===> Use 'make config' to modify these settings
Templates/config.(guess|sub): Update to 2026-05-17
Also remove our local changes that replaced x86_64 with amd64 because
these complicate porting by forcing port maintainers to replace x86_64
with amd64 in configure scripts.
Additional changes:
bsd.port.mk: Apply S/amd64/x86_64/ to CONFIGURE_TARGET. This is not
required to run configure but some ports need to use this in pkg-plist.
comms/qico, news/fidogate:
CONFIGURE_TARGET shouldn't contain "--build". Just remove it altogether
because the default value is fine.
(Only the first 15 lines of the commit message are shown above )
textproc/gnugrep: the port had been updated to version 3.12
- Drop GNU_CONFIGURE_MANPREFIX and CONFLICTS with `bsd-grep'
which had been moved from the ports into the base
- Disable COMPAT option by default (see commit 18bf1a7d6beb
and PR discussion for rationale behind this)
PR: 277784
Reported by: portscout
textproc/gnugrep: update GNU grep to version 3.9
Allow to inhibit creation of g-prefixless compatibility
symlinks via the COMPAT option (on by default).
Reported by: portscout
PR: 269840
textproc/gnugrep: update GNU grep to version 3.8
- PCRE option is now backed by `devel/pcre2' port
- Remove seemingly useless macro from the manpage
in order to drop dependency on `textproc/groff'
as suggested by Dan Allen
Reported by: portscout
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
textproc/gnugrep: add missing dependency, build with --program-prefix=g
- Add run-time dependency on `textproc/groff': the manual page won't be
rendered if groff(1) is not installed;
- By popular demand, configure the port with `--program-prefix=g' as we
do for other GNU utilities. This places the binaries within the same
namespace more consistently; several other non-GNU/Linux systems, e.g.
NetBSD, OpenBSD, Solaris, macOS (Homebrew) are doing the same. Avoid
POLA violation by creating traditionally named compatibility symlinks.
PR: 263275, 265729
*/*: Remove redundant '-[0-9]*' from CONFLICTS
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".
Approved by: portmgr (blanket)
- Belatedly update GNU grep to version 3.3
- Allow to build against GNU sigsegv (LIBSIGSEGV_DESC was shamelessly
stolen from `devel/m4') but retain existing OPTIONS_DEFAULT for now
- Do not pass preprocessor and linker flags directly, USES+=pkgconfig
- PCRE_CONFIGURE_OFF is not needed when PCRE_CONFIGURE_ENABLE is used
- Convert to option helper target (post-patch-NLS-off)
Approved by: maintainer (johans: numerous timeouts on GNU tools)
Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.
Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.
Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them
Bump revision of all impacted ports
PR: 232907
exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D17816
textproc/gnugrep: Add missing libiconv dependency
GNU Grep's automatically searches for and detects (via configure) the
presence of gettext and libiconv. If libiconv is already installed it
results in libiconv being detected without the dependency being
registered. If libiconv is ever removed, the following error is
observed:
Error: Shared object "libiconv.so.2" not found, required by "grep"
This change adds explicit configure arguments to disable gettext and
libiconv detection when their respective OPTIONS are disabled.
Additionally it adds an ICONV option consistent with other
ports, and replaces global CPPFLAGS and LDFLAGS values
(Only the first 15 lines of the commit message are shown above )
Add CPE information
textproc/gnugrep has had vulnerabilities with a CPE identifier assigned
(e.g. CVE-2012-5667).
PR: 198471
Submitted by: shun.fbsd.pr@dropcut.net
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav
- Add support for NLS with the conventional WITHOUT_NLS knob to disable it
- Silence post-patch target
- Bump PORTREVISION
- Cosmetic changes
PR: ports/149290
Submitted by: swell.k@gmail.com
- Introduce a new USE_XZ knob that handles lzma/xz compressed distfiles
- Convert a bunch of ports to use it
PR: ports/146329
Submitted by: mm
With hat: portmgr
The grep command searches one or more input files for lines containing a match
to a specified pattern. By default, grep prints the matching lines.
WWW: http://www.gnu.org/software/grep/