Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 2014 12:07:02 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r371390 - head/finance/libstocks
Message-ID:  <201410231207.s9NC72WQ002937@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410231207.s9NC72WQ002937>