svn commit: r312676 - head/archivers/snappy
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Feb 20 21:15:13 UTC 2013
Author: sunpoet
Date: Wed Feb 20 21:15:12 2013
New Revision: 312676
URL: http://svnweb.freebsd.org/changeset/ports/312676
Log:
- Fix build when devel/googletest was installed
- Convert to new options framework
Approved by: vanilla (maintainer)
Modified:
head/archivers/snappy/Makefile (contents, props changed)
Modified: head/archivers/snappy/Makefile
==============================================================================
--- head/archivers/snappy/Makefile Wed Feb 20 21:12:06 2013 (r312675)
+++ head/archivers/snappy/Makefile Wed Feb 20 21:15:12 2013 (r312676)
@@ -10,11 +10,16 @@ MASTER_SITES= GOOGLE_CODE
MAINTAINER= vanilla at 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
More information about the svn-ports-head
mailing list