svn commit: r374149 - head/databases/rocksdb

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Dec 6 20:41:11 UTC 2014


Author: sunpoet
Date: Sat Dec  6 20:41:10 2014
New Revision: 374149
URL: https://svnweb.freebsd.org/changeset/ports/374149
QAT: https://qat.redports.org/buildarchive/r374149/

Log:
  - Fix build when WITHOUT_PROFILE is defined
  
  Submitted by:	vanilla

Modified:
  head/databases/rocksdb/Makefile

Modified: head/databases/rocksdb/Makefile
==============================================================================
--- head/databases/rocksdb/Makefile	Sat Dec  6 20:38:44 2014	(r374148)
+++ head/databases/rocksdb/Makefile	Sat Dec  6 20:41:10 2014	(r374149)
@@ -32,6 +32,9 @@ PROGRAMS=	blob_store_bench db_bench db_r
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|-lpthread|-pthread|; s| -fno-builtin-memcmp||; s| -ltcmalloc||' ${WRKSRC}/build_tools/build_detect_platform
+.if defined(WITHOUT_PROFILE)
+	@${REINPLACE_CMD} -e 's| -pg||' ${WRKSRC}/Makefile
+.endif
 
 do-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/include/rocksdb/ ${STAGEDIR}${DATADIR}/


More information about the svn-ports-head mailing list