summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--comms/ecu/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/comms/ecu/Makefile b/comms/ecu/Makefile
index 3a4f191e5d0f..da108f49da0f 100644
--- a/comms/ecu/Makefile
+++ b/comms/ecu/Makefile
@@ -12,13 +12,15 @@ MASTER_SITES= ftp://tsx-11.mit.edu/pub/linux/sources/usr.bin/Communications/
MAINTAINER= ache@FreeBSD.org
+USE_REINPLACE= yes
+
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
+ @${REINPLACE_CMD} -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; \