aboutsummaryrefslogtreecommitdiff
path: root/comms/plp
diff options
context:
space:
mode:
Diffstat (limited to 'comms/plp')
-rw-r--r--comms/plp/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/comms/plp/Makefile b/comms/plp/Makefile
index becc95b09842..cc2105b3e406 100644
--- a/comms/plp/Makefile
+++ b/comms/plp/Makefile
@@ -17,6 +17,11 @@ MAINTAINER= maurice@serc.rmit.edu.au
USE_GMAKE= yes
+pre-patch:
+.for files in packet.cc socketchan.cc
+ @${PERL} -pi -e 's|malloc.h|stdlib.h|' ${WRKSRC}/ncp/${files}
+.endfor
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/ncp ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bin/rfsv ${PREFIX}/bin