From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D8F9D13888F for ; Tue, 6 Oct 2015 22:05:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 605BAE0876; Tue, 6 Oct 2015 22:05:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CDD8B21C002 for ; Tue, 6 Oct 2015 22:05:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C92C7340753 for ; Tue, 6 Oct 2015 22:05:02 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 88148B20 for ; Tue, 6 Oct 2015 22:04:59 +0000 (UTC) From: "Chí-Thanh Christopher Nguyễn" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Chí-Thanh Christopher Nguyễn" Message-ID: <1444169060.7ccaaee567f3c438b1ffe8c659b031512b0aa6da.chithanh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/leveldb/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/leveldb/leveldb-1.18-r1.ebuild X-VCS-Directories: dev-libs/leveldb/ X-VCS-Committer: chithanh X-VCS-Committer-Name: Chí-Thanh Christopher Nguyễn X-VCS-Revision: 7ccaaee567f3c438b1ffe8c659b031512b0aa6da X-VCS-Branch: master Date: Tue, 6 Oct 2015 22:04:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a6c3e156-92f3-41c8-a6b6-de5938aa37c1 X-Archives-Hash: 1775693ad4f378f42d64e405a3896658 commit: 7ccaaee567f3c438b1ffe8c659b031512b0aa6da Author: Chí-Thanh Christopher Nguyễn gentoo org> AuthorDate: Tue Oct 6 22:04:20 2015 +0000 Commit: Chí-Thanh Christopher Nguyễn gentoo org> CommitDate: Tue Oct 6 22:04:20 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ccaaee5 dev-libs/leveldb: fix build on amd64-fbsd and keyword Bug: https://bugs.gentoo.org/show_bug.cgi?id=562432 Package-Manager: portage-2.2.20.1 dev-libs/leveldb/leveldb-1.18-r1.ebuild | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/dev-libs/leveldb/leveldb-1.18-r1.ebuild b/dev-libs/leveldb/leveldb-1.18-r1.ebuild index d50d0be..e31c42c 100644 --- a/dev-libs/leveldb/leveldb-1.18-r1.ebuild +++ b/dev-libs/leveldb/leveldb-1.18-r1.ebuild @@ -12,8 +12,8 @@ SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~mips ~ppc ppc64 x86 ~amd64-linux ~x86-linux" -IUSE="+snappy static-libs +tcmalloc" +KEYWORDS="amd64 arm ~arm64 ~mips ~ppc ppc64 x86 ~amd64-fbsd ~amd64-linux ~x86-linux" +IUSE="+snappy static-libs +tcmalloc kernel_FreeBSD" DEPEND="tcmalloc? ( dev-util/google-perftools ) snappy? ( @@ -38,8 +38,14 @@ src_configure() { # which the Makefile runs for us automatically. tc-export AR CC CXX export OPT="-DNDEBUG ${CPPFLAGS}" + local targetos + if use kernel_FreeBSD; then + targetos="FreeBSD" + else + targetos="Linux" + fi - TARGET_OS="Linux" \ + TARGET_OS=${targetos} \ USE_SNAPPY=$(usex snappy) \ USE_TCMALLOC=no \ TMPDIR=${T} \