diff options
Diffstat (limited to 'net/xpvm')
-rw-r--r-- | net/xpvm/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/xpvm/Makefile b/net/xpvm/Makefile index 99acb93b5b53..36856bf1e15e 100644 --- a/net/xpvm/Makefile +++ b/net/xpvm/Makefile @@ -19,6 +19,8 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libpvm3.a:${PORTSDIR}/net/pvm RUN_DEPENDS= ${BUILD_DEPENDS} LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84 +USE_REINPLACE= yes + WRKSRC= ${WRKDIR}/xpvm PVM_ROOT?= ${LOCALBASE}/lib/pvm MAKE_ENV+= PVM_ROOT=${PVM_ROOT} XPVM_ROOT=${WRKSRC} @@ -32,6 +34,10 @@ pre-everything:: @${ECHO_MSG} "please define PVM_ROOT=/path/to/your/pvm." @${ECHO_MSG} +post-patch: + @cd ${WRKSRC} && ${REINPLACE_CMD} -e 's/malloc.h/stdlib.h/' \ + src/xpvm.h tracer/trclib.h + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/FREEBSD/xpvm ${PREFIX}/bin ${MKDIR} -m 755 ${DATADIR} |