aboutsummaryrefslogtreecommitdiff
path: root/databases/leveldb
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-05-12 16:27:31 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-05-12 16:27:31 +0000
commit0db13278e7f2cea4ee11e81a1224ad4955f98700 (patch)
treee0f88bbca3e341204e8ac0c237f6f113166c098c /databases/leveldb
parente4e09eef7ae5d86ae07757cc07524a911cd9babb (diff)
downloadports-0db13278e7f2cea4ee11e81a1224ad4955f98700.tar.gz
ports-0db13278e7f2cea4ee11e81a1224ad4955f98700.zip
- Fix build on DragonFlyBSD
Requested by: vanilla Tested by: vanilla
Notes
Notes: svn path=/head/; revision=353869
Diffstat (limited to 'databases/leveldb')
-rw-r--r--databases/leveldb/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/databases/leveldb/Makefile b/databases/leveldb/Makefile
index 162de8235c4a..0833a094180e 100644
--- a/databases/leveldb/Makefile
+++ b/databases/leveldb/Makefile
@@ -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