aboutsummaryrefslogtreecommitdiff
path: root/finance/libstocks
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-10-23 12:07:01 +0000
committerJohn Marino <marino@FreeBSD.org>2014-10-23 12:07:01 +0000
commit5a0ee1f89c7cae22c40e36b6e0be138de25d3c4e (patch)
treebe5314de8c32b457e8a96cc28a43981f442975bd /finance/libstocks
parent5a7d3d88da7ff13bac74de552f68866f1f47687d (diff)
downloadports-5a0ee1f89c7cae22c40e36b6e0be138de25d3c4e.tar.gz
ports-5a0ee1f89c7cae22c40e36b6e0be138de25d3c4e.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.
Notes
Notes: svn path=/head/; revision=371390
Diffstat (limited to 'finance/libstocks')
-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: