From a0f576faa3f84d628143c14abb6dcc668854df62 Mon Sep 17 00:00:00 2001 From: pat Date: Tue, 2 Apr 2002 23:29:48 +0000 Subject: Replace malloc.h with stdlib.h PR: 36672 Submitted by: maintainer --- comms/plp/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'comms/plp') diff --git a/comms/plp/Makefile b/comms/plp/Makefile index becc95b..cc2105b 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 -- cgit v1.1