Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2014 16:27:31 +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: r353869 - head/databases/leveldb
Message-ID:  <201405121627.s4CGRVfk029272@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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