1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

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.
This commit is contained in:
John Marino 2014-10-23 12:07:01 +00:00
parent 5a7d3d88da
commit 5a0ee1f89c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=371390

View File

@ -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: