svn commit: r379505 - head/databases/rocksdb

John Marino marino at FreeBSD.org
Sat Feb 21 13:03:24 UTC 2015


Author: marino
Date: Sat Feb 21 13:03:23 2015
New Revision: 379505
URL: https://svnweb.freebsd.org/changeset/ports/379505
QAT: https://qat.redports.org/buildarchive/r379505/

Log:
  databases/rocksdb: Remove -Werror from flags
  
  RocksDB defines a number of variables it doesn't use, so it fails Werror
  on modern compilers that check for this.  Remove the -Werror flag from
  the Makefile with sed since we are using it anyway.
  
  Approved by:	blanket

Modified:
  head/databases/rocksdb/Makefile

Modified: head/databases/rocksdb/Makefile
==============================================================================
--- head/databases/rocksdb/Makefile	Sat Feb 21 12:53:37 2015	(r379504)
+++ head/databases/rocksdb/Makefile	Sat Feb 21 13:03:23 2015	(r379505)
@@ -31,7 +31,8 @@ PROGRAMS=	blob_store_bench db_bench db_r
 		table_reader_bench
 
 post-patch:
-	@${REINPLACE_CMD} -e '/^all: / s| $$(TESTS)||' ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e '/^all: / s| $$(TESTS)||' \
+		          -e 's| -Werror||' ${WRKSRC}/Makefile
 	@${REINPLACE_CMD} -e 's|-lpthread|-pthread|; s| -fno-builtin-memcmp||; s| -ltcmalloc||' ${WRKSRC}/build_tools/build_detect_platform
 	@${REINPLACE_CMD} -e '/PLATFORM_IS_LITTLE_ENDIAN/ s|__|_|g' ${WRKSRC}/port/port_posix.h
 .if defined(WITHOUT_PROFILE)


More information about the svn-ports-all mailing list