aboutsummaryrefslogtreecommitdiffstats
path: root/net/pvm/Makefile
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-03-31 10:03:17 +0800
committerkris <kris@FreeBSD.org>2002-03-31 10:03:17 +0800
commit9373b5b5cd57cfc7cd2d8b67b21e5af251576155 (patch)
treea46326a9cbe66459971ee80677117c89fa753900 /net/pvm/Makefile
parent92fe871663f86c9038c301b0e4f69acd950db744 (diff)
downloadfreebsd-ports-gnome-9373b5b5cd57cfc7cd2d8b67b21e5af251576155.tar.gz
freebsd-ports-gnome-9373b5b5cd57cfc7cd2d8b67b21e5af251576155.tar.zst
freebsd-ports-gnome-9373b5b5cd57cfc7cd2d8b67b21e5af251576155.zip
Fix compilation on 5.0 (<malloc.h> removal)
Diffstat (limited to 'net/pvm/Makefile')
-rw-r--r--net/pvm/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/pvm/Makefile b/net/pvm/Makefile
index 63265f1f4cc0..bf4f82bb8e72 100644
--- a/net/pvm/Makefile
+++ b/net/pvm/Makefile
@@ -68,6 +68,11 @@ MAN3= libfpvm.3 libpvm.3 pvm_addhosts.3 pvm_addmhf.3 pvm_advise.3 \
pvmfsetsbuf.3 pvmfsiblings.3 pvmfspawn.3 pvmfstartpvmd.3 \
pvmftasks.3 pvmftidtoh.3 pvmftrecv.3 pvmfunpack.3 pvmfupkmesg.3
+pre-patch:
+ @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
+ ${WRKSRC}/tracer/tracer.h ${WRKSRC}/tracer/trclib.h \
+ ${WRKSRC}/tracer/trcsort.c
+
do-install:
@ ${MKDIR} ${PVM_ROOT}/lib/FREEBSD ${PVM_ROOT}/bin/FREEBSD ${PVM_ROOT}/conf
@ ${INSTALL_PROGRAM} ${WRKSRC}/bin/FREEBSD/* ${PVM_ROOT}/bin/FREEBSD