svn commit: r373725 - head/devel/ode
Antoine Brodin
antoine at FreeBSD.org
Mon Dec 1 22:31:15 UTC 2014
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 \
More information about the svn-ports-all
mailing list