aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/sqlrelay/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/databases/sqlrelay/Makefile b/databases/sqlrelay/Makefile
index 0e07fd313685..6ba6381b2561 100644
--- a/databases/sqlrelay/Makefile
+++ b/databases/sqlrelay/Makefile
@@ -142,5 +142,8 @@ post-patch:
@${REINPLACE_CMD} -e '/EXAMPLEDIR/d' ${WRKSRC}/etc/Makefile
${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} -E \
-e 's#-release \$$\(SQLR_VERSION\)##g;'
+.ifdef NOPORTDOCS
+ @${REINPLACE_CMD} '/$$(MAKE) -C doc/d' ${WRKSRC}/Makefile
+.endif
.include <bsd.port.post.mk>