diff options
author | tijl <tijl@FreeBSD.org> | 2013-12-30 17:58:45 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2013-12-30 17:58:45 +0800 |
commit | 039c82f8c244bddf363a8f50afc1782f24f4ed61 (patch) | |
tree | 96781f07b48c3531ae127329bc2919fa84ff8c96 /net/pvm | |
parent | 3f3390e2ce2490291ea8b5488a568085fdbcd7e4 (diff) | |
download | freebsd-ports-graphics-039c82f8c244bddf363a8f50afc1782f24f4ed61.tar.gz freebsd-ports-graphics-039c82f8c244bddf363a8f50afc1782f24f4ed61.tar.zst freebsd-ports-graphics-039c82f8c244bddf363a8f50afc1782f24f4ed61.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 093082fb9a9..2a30053f444 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 |