aboutsummaryrefslogtreecommitdiff
path: root/security/snort/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/snort/Makefile')
-rw-r--r--security/snort/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/security/snort/Makefile b/security/snort/Makefile
index 739397ed810a..47cba5c6160d 100644
--- a/security/snort/Makefile
+++ b/security/snort/Makefile
@@ -132,6 +132,9 @@ post-patch:
.if defined(WITH_SNORTSAM)
BUILD_DEPENDS+= automake>=1.10.1:${PORTSDIR}/devel/automake110
.endif
+.if defined(NOPORTDOCS)
+ @${REINPLACE_CMD} '/SUBDIRS = /s/doc//' ${WRKSRC}/Makefile.in
+.endif
pre-configure:
.if defined(WITH_SNORTSAM)