svn commit: r353869 - head/databases/leveldb

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Mon May 12 16:27:31 UTC 2014


Author: sunpoet
Date: Mon May 12 16:27:31 2014
New Revision: 353869
URL: http://svnweb.freebsd.org/changeset/ports/353869
QAT: https://qat.redports.org/buildarchive/r353869/

Log:
  - Fix build on DragonFlyBSD
  
  Requested by:	vanilla
  Tested by:	vanilla

Modified:
  head/databases/leveldb/Makefile

Modified: head/databases/leveldb/Makefile
==============================================================================
--- head/databases/leveldb/Makefile	Mon May 12 16:26:16 2014	(r353868)
+++ head/databases/leveldb/Makefile	Mon May 12 16:27:31 2014	(r353869)
@@ -40,6 +40,7 @@ SNAPPY=		0
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|-lpthread|-pthread|' ${WRKSRC}/build_detect_platform
+	@${REINPLACE_CMD} -e '/PLATFORM_IS_LITTLE_ENDIAN/ s|__|_|g' ${WRKSRC}/port/port_posix.h
 .if !${PORT_OPTIONS:MGPERFTOOLS}
 	@${REINPLACE_CMD} -e 's| -ltcmalloc||' ${WRKSRC}/build_detect_platform
 .endif


More information about the svn-ports-all mailing list