aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-04-03 07:29:48 +0800
committerpat <pat@FreeBSD.org>2002-04-03 07:29:48 +0800
commita0f576faa3f84d628143c14abb6dcc668854df62 (patch)
treeea421882d7c4f9ae98d924427af1d8faea06801a /comms
parent70d0ac1a35ecc19e211555d93fb3cdbecfe5063a (diff)
downloadfreebsd-ports-gnome-a0f576faa3f84d628143c14abb6dcc668854df62.tar.gz
freebsd-ports-gnome-a0f576faa3f84d628143c14abb6dcc668854df62.tar.zst
freebsd-ports-gnome-a0f576faa3f84d628143c14abb6dcc668854df62.zip
Replace malloc.h with stdlib.h
PR: 36672 Submitted by: maintainer
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