aboutsummaryrefslogtreecommitdiff
path: root/net/xpvm
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-07-02 08:52:26 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-07-02 08:52:26 +0000
commit4600dc8627084e213065aeafa36754b98e502504 (patch)
tree520557934a86f10eb971ed518f533cf6f0ce0314 /net/xpvm
parent58a40fad842b636336ab3e53e995ae58ff2566e3 (diff)
downloadports-4600dc8627084e213065aeafa36754b98e502504.tar.gz
ports-4600dc8627084e213065aeafa36754b98e502504.zip
Notes
Diffstat (limited to 'net/xpvm')
-rw-r--r--net/xpvm/Makefile6
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}