mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-02 11:38:07 -07:00
dev-db/rqlite: avoid interference from installed rqlite
Package-Manager: portage-2.2.27
This commit is contained in:
@@ -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%/*}")
|
||||
|
||||
Reference in New Issue
Block a user