aboutsummaryrefslogtreecommitdiffstats
path: root/finance
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-10-23 20:07:01 +0800
committermarino <marino@FreeBSD.org>2014-10-23 20:07:01 +0800
commita88c0e6f72e3523d316d6a8501cab2b37def00db (patch)
treebe5314de8c32b457e8a96cc28a43981f442975bd /finance
parent57fd44af6c52791d69bc859bc0b2660d44a79eb2 (diff)
downloadfreebsd-ports-gnome-a88c0e6f72e3523d316d6a8501cab2b37def00db.tar.gz
freebsd-ports-gnome-a88c0e6f72e3523d316d6a8501cab2b37def00db.tar.zst
freebsd-ports-gnome-a88c0e6f72e3523d316d6a8501cab2b37def00db.zip
finance/libstocks: Remove --mmap switch from grep command
This is a GNU grep specific switch that was disabled in March 2010 (~version 2.6) and finally removed in version 2.17 (Feb 2014). It's still supported in the base grep, but the man page talks about possible core dumps. DragonFly has grep v2.20 in base now and the port stopped building. Just remove the deprecated/EOL'd option.
Diffstat (limited to 'finance')
-rw-r--r--finance/libstocks/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/finance/libstocks/Makefile b/finance/libstocks/Makefile
index 59a1194251ea..f5dfc8c09d18 100644
--- a/finance/libstocks/Makefile
+++ b/finance/libstocks/Makefile
@@ -20,7 +20,7 @@ OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e 's/<malloc.h>/<stdlib.h>/' \
-e 's/__UNIX__/__unix__/' \
- $$(${GREP} --mmap -El '<malloc.h>|__UNIX__' \
+ $$(${GREP} -El '<malloc.h>|__UNIX__' \
${WRKSRC}/lib/*.c); \
do-build do-install: