diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2013-12-30 17:58:45 +0800 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2013-12-30 17:58:45 +0800 |
commit | 05b3511a469b2a787a32eb0533b8ef868445111c (patch) | |
tree | 96781f07b48c3531ae127329bc2919fa84ff8c96 /net/pvm | |
parent | 3105582e126e0250daddf44033efd31fb3d93872 (diff) | |
download | freebsd-ports-gnome-05b3511a469b2a787a32eb0533b8ef868445111c.tar.gz freebsd-ports-gnome-05b3511a469b2a787a32eb0533b8ef868445111c.tar.zst freebsd-ports-gnome-05b3511a469b2a787a32eb0533b8ef868445111c.zip |
Fix build when previous version is installed. It tries to link with
the installed libpvm in that case.
Diffstat (limited to 'net/pvm')
-rw-r--r-- | net/pvm/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/pvm/Makefile b/net/pvm/Makefile index 093082fb9a9f..2a30053f444b 100644 --- a/net/pvm/Makefile +++ b/net/pvm/Makefile @@ -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 |