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 587131388C0 for ; Tue, 23 Feb 2016 09:26:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9EFA2E07B2; Tue, 23 Feb 2016 09:26:50 +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 3BEE8E07B2 for ; Tue, 23 Feb 2016 09:26:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 169D4340B53 for ; Tue, 23 Feb 2016 09:26:49 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D936E10AF for ; Tue, 23 Feb 2016 09:26:46 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1456219599.0b84d70ca6d6bb3c025ac7e9645e8f7ac45ede79.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/rqlite/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/rqlite/rqlite-1.0.ebuild X-VCS-Directories: dev-db/rqlite/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 0b84d70ca6d6bb3c025ac7e9645e8f7ac45ede79 X-VCS-Branch: master Date: Tue, 23 Feb 2016 09:26:46 +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: 6557d33c-608f-4f21-9696-3b2977e330f9 X-Archives-Hash: 4059dc3a141a52530e67f5d8a0aeb349 commit: 0b84d70ca6d6bb3c025ac7e9645e8f7ac45ede79 Author: Zac Medico gentoo org> AuthorDate: Tue Feb 23 09:24:55 2016 +0000 Commit: Zac Medico gentoo org> CommitDate: Tue Feb 23 09:26:39 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b84d70c dev-db/rqlite: avoid interference from installed rqlite Package-Manager: portage-2.2.27 dev-db/rqlite/rqlite-1.0.ebuild | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dev-db/rqlite/rqlite-1.0.ebuild b/dev-db/rqlite/rqlite-1.0.ebuild index 0f178d7..053d712 100644 --- a/dev-db/rqlite/rqlite-1.0.ebuild +++ b/dev-db/rqlite/rqlite-1.0.ebuild @@ -58,6 +58,17 @@ src_unpack() { unpack_go_packages } +src_compile() { + # Omit $(get_golibdir_gopath) from GOPATH, in order to avoid + # interference from installed rqlite sources. + GOPATH="${WORKDIR}/${P}" \ + go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die +} + +src_install() { + golang_install_pkgs +} + golang_install_pkgs() { dobin bin/${PN} insinto $(dirname "${EPREFIX}$(get_golibdir)/src/${EGO_PN%/*}")