From owner-svn-ports-all@freebsd.org Mon Dec 11 18:32:52 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A4AE8E9A387; Mon, 11 Dec 2017 18:32:52 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6D0C272A45; Mon, 11 Dec 2017 18:32:52 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBBIWp3B088848; Mon, 11 Dec 2017 18:32:51 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBBIWpJp088847; Mon, 11 Dec 2017 18:32:51 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201712111832.vBBIWpJp088847@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 11 Dec 2017 18:32:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r456060 - head/benchmarks/nosqlbench X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/benchmarks/nosqlbench X-SVN-Commit-Revision: 456060 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Dec 2017 18:32:52 -0000 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 \