diff options
Diffstat (limited to 'comms/ecu/Makefile')
-rw-r--r-- | comms/ecu/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/comms/ecu/Makefile b/comms/ecu/Makefile index 77faada2cf7f..3a4f191e5d0f 100644 --- a/comms/ecu/Makefile +++ b/comms/ecu/Makefile @@ -15,6 +15,11 @@ MAINTAINER= ache@FreeBSD.org do-configure: cd ${WRKSRC}; yes "" | ./Configure +pre-patch: + @${PERL} -pi.orig -e "s@#include +<malloc.h>@@g" \ + ${WRKSRC}/ecu.h ${WRKSRC}/ecunumrev.c ${WRKSRC}/ptyfork.c \ + ${WRKSRC}/qmake.c ${WRKSRC}/unsupported/tts/tts.c + post-install: cd ${WRKSRC}/doc; \ ${INSTALL_MAN} ecu.man ${PREFIX}/man/cat1/ecu.1; \ |