Date: Sat, 21 Feb 2015 13:03:24 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r379505 - head/databases/rocksdb Message-ID: <201502211303.t1LD3OR8041799@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502211303.t1LD3OR8041799>