diff options
author | vs <vs@FreeBSD.org> | 2004-07-02 16:52:26 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2004-07-02 16:52:26 +0800 |
commit | 3bf4b2393be3dcab16ca6c8e278f3c3aeb45c5e9 (patch) | |
tree | 18211ccda4a11722bbdc80c51cc256ef7de5845c | |
parent | e54d637caff8f65f3e523cb36639a76db388c8f2 (diff) | |
download | freebsd-ports-gnome-3bf4b2393be3dcab16ca6c8e278f3c3aeb45c5e9.tar.gz freebsd-ports-gnome-3bf4b2393be3dcab16ca6c8e278f3c3aeb45c5e9.tar.zst freebsd-ports-gnome-3bf4b2393be3dcab16ca6c8e278f3c3aeb45c5e9.zip |
s/malloc.h/stdlib.h/
Noticed by: cluster via kris
-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} |