mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +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:
parent
5a7d3d88da
commit
5a0ee1f89c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=371390
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user