aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/motor/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/motor/Makefile b/devel/motor/Makefile
index 1f584a049831..6d7a69158f25 100644
--- a/devel/motor/Makefile
+++ b/devel/motor/Makefile
@@ -32,6 +32,8 @@ MAN1= motor.1
post-patch:
@${REINPLACE_CMD} -e 's|zxvf|&o|' ${WRKSRC}/share/Makefile.in
+ @${REINPLACE_CMD} -e 's|strndup|my_strndup|' ${WRKSRC}/parser/src/parser.c \
+ ${WRKSRC}/parser/src/strfn.c ${WRKSRC}/parser/include/strfn.h
.if !defined(NOPORTDOCS)
post-install: