aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
Diffstat (limited to 'archivers')
-rw-r--r--archivers/snappy/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/archivers/snappy/Makefile b/archivers/snappy/Makefile
index 23cc416f43a3..bb1024c42a3f 100644
--- a/archivers/snappy/Makefile
+++ b/archivers/snappy/Makefile
@@ -10,11 +10,16 @@ MASTER_SITES= GOOGLE_CODE
MAINTAINER= vanilla@FreeBSD.org
COMMENT= Fast compressor/decompressor library
+OPTIONS_DEFINE= DOCS
+
+CONFIGURE_ARGS= --disable-gtest
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
+.include <bsd.port.options.mk>
+
post-patch:
-.if defined(NOPORTDOCS)
+.if empty(PORT_OPTIONS:MDOCS)
${REINPLACE_CMD} -e \
'/^install-data-am:/ s|install-dist_docDATA||' \
${WRKSRC}/Makefile.in