Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Sep 2015 19:01:33 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r396130 - head/databases/rocksdb
Message-ID:  <201509041901.t84J1XSV005885@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Sep  4 19:01:32 2015
New Revision: 396130
URL: https://svnweb.freebsd.org/changeset/ports/396130

Log:
  - Fix build when devel/googletest is installed

Modified:
  head/databases/rocksdb/Makefile

Modified: head/databases/rocksdb/Makefile
==============================================================================
--- head/databases/rocksdb/Makefile	Fri Sep  4 18:57:49 2015	(r396129)
+++ head/databases/rocksdb/Makefile	Fri Sep  4 19:01:32 2015	(r396130)
@@ -42,6 +42,7 @@ CXXFLAGS+=	-Wno-inconsistent-missing-ove
 post-patch:
 	@${REINPLACE_CMD} -e '/^all: / s| $$(TESTS)||' ${WRKSRC}/Makefile
 	@${REINPLACE_CMD} -e 's| -fno-builtin-memcmp||; s| -ltcmalloc||' ${WRKSRC}/build_tools/build_detect_platform
+	@${REINPLACE_CMD} -e 's|#include "gtest/gtest.h"|#include "gtest.h"|' ${WRKSRC}/third-party/gtest-1.7.0/fused-src/gtest/gtest-all.cc
 .if defined(WITHOUT_PROFILE)
 	@${REINPLACE_CMD} -e '/pg = / s| -pg||' ${WRKSRC}/Makefile
 .endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509041901.t84J1XSV005885>