svn commit: r338076 - head/net/pvm
Tijl Coosemans
tijl at FreeBSD.org
Mon Dec 30 09:58:46 UTC 2013
Author: tijl
Date: Mon Dec 30 09:58:45 2013
New Revision: 338076
URL: http://svnweb.freebsd.org/changeset/ports/338076
Log:
Fix build when previous version is installed. It tries to link with
the installed libpvm in that case.
Modified:
head/net/pvm/Makefile
Modified: head/net/pvm/Makefile
==============================================================================
--- head/net/pvm/Makefile Mon Dec 30 09:51:55 2013 (r338075)
+++ head/net/pvm/Makefile Mon Dec 30 09:58:45 2013 (r338076)
@@ -29,12 +29,15 @@ NOT_FOR_ARCHS= powerpc
.include <bsd.port.options.mk>
-pre-patch:
+post-patch:
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
${WRKSRC}/tracer/tracer.h ${WRKSRC}/tracer/trclib.h \
${WRKSRC}/tracer/trcsort.c
@${FIND} ${WRKSRC} -name Makefile.aimk | ${XARGS} ${REINPLACE_CMD} \
-e 's,-[gO],,g'
+ @${REINPLACE_CMD} \
+ -e 's/$$(XCFLAGS) $$(CFLAGS)/$$(CFLAGS) $$(XCFLAGS)/' \
+ ${WRKSRC}/xep/Makefile.aimk
.if ! ${PORT_OPTIONS:MX11}
@${REINPLACE_CMD} -e '/default/s/xep[^ ]*//' ${WRKSRC}/xep/Makefile.aimk
.endif
More information about the svn-ports-all
mailing list