Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2017 18:32:51 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456060 - head/benchmarks/nosqlbench
Message-ID:  <201712111832.vBBIWpJp088847@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Dec 11 18:32:51 2017
New Revision: 456060
URL: https://svnweb.freebsd.org/changeset/ports/456060

Log:
  - Add LICENSE_FILE
  - Remove -march and respect CFLAGS which also fixes build on Tier2
  
  Approved by:	portmgr blanket

Modified:
  head/benchmarks/nosqlbench/Makefile

Modified: head/benchmarks/nosqlbench/Makefile
==============================================================================
--- head/benchmarks/nosqlbench/Makefile	Mon Dec 11 18:31:35 2017	(r456059)
+++ head/benchmarks/nosqlbench/Makefile	Mon Dec 11 18:32:51 2017	(r456060)
@@ -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 \



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