aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/libslang2/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/libslang2/Makefile b/devel/libslang2/Makefile
index b282e1d135c2..27f2b6709230 100644
--- a/devel/libslang2/Makefile
+++ b/devel/libslang2/Makefile
@@ -76,7 +76,9 @@ post-patch:
@${REINPLACE_CMD} -E 's,doc/slsh,doc/slang/v\@slang_major_version\@,' \
${WRKSRC}/slsh/Makefile.in
.if defined(NOPORTDOCS)
- @${REINPLACE_CMD} -e 's, install-docs,,g' ${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e 's, install[_-]docs,,g; /MKINSDIR.*DEST_SLSH_DOC_DIR/d' \
+ ${WRKSRC}/src/Makefile.in \
+ ${WRKSRC}/slsh/Makefile.in
.endif
.include <bsd.port.post.mk>