summaryrefslogtreecommitdiff
path: root/science/felt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'science/felt/Makefile')
-rw-r--r--science/felt/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/science/felt/Makefile b/science/felt/Makefile
index 6cad0d6fbb58..49d441480375 100644
--- a/science/felt/Makefile
+++ b/science/felt/Makefile
@@ -21,21 +21,22 @@ LIB_DEPENDS= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d
WRKSRC= ${WRKDIR}/FElt-${PORTVERSION}
GNU_CONFIGURE= yes
USE_X_PREFIX= yes
+USE_REINPLACE= yes
MAN1= burlap.1 corduroy.1 felt.1 patchwork.1 velvet.1 yardstick.1
MAN3= Drawing.3
MAN4= corduroy.4 felt.4
post-patch:
- @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>, ; s,"malloc.h",<stdlib.h>,' \
- ${WRKSRC}/lib/Felt/parser.c ${WRKSRC}/lib/Felt/parser.c \
+ @${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>, ; s,"malloc.h",<stdlib.h>,' \
+ ${WRKSRC}/lib/Felt/parser.c \
${WRKSRC}/lib/Widgets/xwd.c ${WRKSRC}/lib/Matrix/data.c \
${WRKSRC}/lib/Matrix/factor.c ${WRKSRC}/lib/Matrix/eigen.c \
${WRKSRC}/lib/Matrix/c_data.c ${WRKSRC}/lib/Matrix/c_factor.c \
${WRKSRC}/include/allocate.h ${WRKSRC}/src/Velvet/error.c \
${WRKSRC}/src/Burlap/allocate.h ${WRKSRC}/src/Burlap/interactive.c \
- ${WRKSRC}/src/Burlap/parser.c ${WRKSRC}/src/Burlap/parser.c \
- ${WRKSRC}/src/Corduroy/parser.c ${WRKSRC}/src/Corduroy/parser.c \
+ ${WRKSRC}/src/Burlap/parser.c \
+ ${WRKSRC}/src/Corduroy/parser.c \
${WRKSRC}/src/Patchwork/util.c
post-install: