svn commit: r386955 - head/databases/rocksdb

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Thu May 21 21:24:27 UTC 2015


Author: sunpoet
Date: Thu May 21 21:24:26 2015
New Revision: 386955
URL: https://svnweb.freebsd.org/changeset/ports/386955

Log:
  - Fix build on 9.x
  - Cleanup Makefile

Modified:
  head/databases/rocksdb/Makefile

Modified: head/databases/rocksdb/Makefile
==============================================================================
--- head/databases/rocksdb/Makefile	Thu May 21 20:55:42 2015	(r386954)
+++ head/databases/rocksdb/Makefile	Thu May 21 21:24:26 2015	(r386955)
@@ -18,6 +18,7 @@ ALL_TARGET=	shared_lib all
 CFLAGS+=	-I${LOCALBASE}/include
 CPPFLAGS+=	-DOS_FREEBSD
 LDFLAGS+=	-L${LOCALBASE}/lib
+USE_CXXSTD=	c++11
 USE_LDCONFIG=	yes
 USES=		compiler:c++11-lib gmake
 
@@ -39,7 +40,6 @@ 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 '/PLATFORM_IS_LITTLE_ENDIAN/ s|__|_|g' ${WRKSRC}/port/port_posix.h
 .if defined(WITHOUT_PROFILE)
 	@${REINPLACE_CMD} -e '/pg = / s| -pg||' ${WRKSRC}/Makefile
 .endif


More information about the svn-ports-all mailing list