aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/nosqlbench
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-12-11 18:32:51 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-12-11 18:32:51 +0000
commit0c9524cf92752649a4c96bf4c5f427360f89d1a7 (patch)
treea18560da17dcc3985028110ed4f27287232ce293 /benchmarks/nosqlbench
parent04e629eea07e9bc7a8989f3118e64fbcc8eedce5 (diff)
downloadports-0c9524cf92752649a4c96bf4c5f427360f89d1a7.tar.gz
ports-0c9524cf92752649a4c96bf4c5f427360f89d1a7.zip
- Add LICENSE_FILE
- Remove -march and respect CFLAGS which also fixes build on Tier2 Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=456060
Diffstat (limited to 'benchmarks/nosqlbench')
-rw-r--r--benchmarks/nosqlbench/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/benchmarks/nosqlbench/Makefile b/benchmarks/nosqlbench/Makefile
index 7e472f6d0bf6..cb10b5fc6a4e 100644
--- a/benchmarks/nosqlbench/Makefile
+++ b/benchmarks/nosqlbench/Makefile
@@ -3,6 +3,7 @@
PORTNAME= nosqlbench
PORTVERSION= 0.0.${DATE}
+PORTREVISION= 1
CATEGORIES= benchmarks databases
MASTER_SITES= LOCAL/vg
@@ -10,6 +11,7 @@ MAINTAINER= vg@FreeBSD.org
COMMENT= Micro-benchmarking NoSQL storage
LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libleveldb.so:databases/leveldb
@@ -18,8 +20,10 @@ USES= cmake tar:bzip2
CONFLICTS= tarantool-c
-BROKEN_aarch64= Does not build: clang does not support -march=native
-BROKEN_powerpc64= Does not build: clang does not support -march=native
+post-patch:
+ @${REINPLACE_CMD} -e 's|-O3 -march=native||' ${WRKSRC}/CMakeLists.txt \
+ ${WRKSRC}/third_party/memcached/CMakeLists.txt \
+ ${WRKSRC}/third_party/tarantool-c/CMakeLists.txt
post-install:
${INSTALL_DATA} ${WRKSRC}/sources/nosqlbench.conf \