Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Dec 2014 22:31:15 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r373725 - head/devel/ode
Message-ID:  <201412012231.sB1MVFC7099263@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Mon Dec  1 22:31:14 2014
New Revision: 373725
URL: https://svnweb.freebsd.org/changeset/ports/373725
QAT: https://qat.redports.org/buildarchive/r373725/

Log:
  Only REINPLACE the needed files, making it less likely that Makefile.in gets
  older than Makefile.am

Modified:
  head/devel/ode/Makefile

Modified: head/devel/ode/Makefile
==============================================================================
--- head/devel/ode/Makefile	Mon Dec  1 21:50:55 2014	(r373724)
+++ head/devel/ode/Makefile	Mon Dec  1 22:31:14 2014	(r373725)
@@ -49,8 +49,8 @@ post-patch:
 	@${FIND} ${WRKSRC} -type f -name Makefile.in -print0 | ${XARGS} -0 ${REINPLACE_CMD} \
 		-e '/^DEFAULT_INCLUDES/ s|$$| -I$$(top_builddir)/include|' \
 		-e '/CFLAGS/ s|-O[12]||'
-	@${FIND} ${WRKSRC} -type f -print0 | ${XARGS} -0 ${REINPLACE_CMD} \
-		-i "" -e 's|<malloc.h>|<stdlib.h>|g'
+	@${REINPLACE_CMD} 's|<malloc.h>|<stdlib.h>|g' \
+		${WRKSRC}/build/config-default.h ${WRKSRC}/ou/src/ou/malloc.cpp
 
 post-install:
 	${SED} -e '/PACKAGE/ s|^|//|; /VERSION/ s|^|//|' ${WRKSRC}/ode/src/config.h \



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