svn commit: r371390 - head/finance/libstocks

John Marino marino at FreeBSD.org
Thu Oct 23 12:07:02 UTC 2014


Author: marino
Date: Thu Oct 23 12:07:01 2014
New Revision: 371390
URL: https://svnweb.freebsd.org/changeset/ports/371390
QAT: https://qat.redports.org/buildarchive/r371390/

Log:
  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.

Modified:
  head/finance/libstocks/Makefile

Modified: head/finance/libstocks/Makefile
==============================================================================
--- head/finance/libstocks/Makefile	Thu Oct 23 11:52:11 2014	(r371389)
+++ head/finance/libstocks/Makefile	Thu Oct 23 12:07:01 2014	(r371390)
@@ -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:


More information about the svn-ports-all mailing list