summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-04-02 23:29:48 +0000
committerPatrick Li <pat@FreeBSD.org>2002-04-02 23:29:48 +0000
commitd4baf8e67881dbcc39a58d583b52d5b102dd2f3b (patch)
treebec2fe724ef218348eec0a2d8d30f2c21e59b85d /comms
parentRemove this outdated port. The linemode browser is now part of the (diff)
Replace malloc.h with stdlib.h
PR: 36672 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=57245
Diffstat (limited to 'comms')
-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