From 5a0ee1f89c7cae22c40e36b6e0be138de25d3c4e Mon Sep 17 00:00:00 2001 From: John Marino Date: Thu, 23 Oct 2014 12:07:01 +0000 Subject: [PATCH] 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. --- finance/libstocks/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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///' \ -e 's/__UNIX__/__unix__/' \ - $$(${GREP} --mmap -El '|__UNIX__' \ + $$(${GREP} -El '|__UNIX__' \ ${WRKSRC}/lib/*.c); \ do-build do-install: