Closes: https://github.com/gentoo/gentoo/pull/15851
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
BDEPEND=">=dev-lang/go-1.13"
src_unpack() {
- if has live "${PROPERTIES}"; then
+ if [[ ${PV} == *9999 ]]; then
git-r3_src_unpack
go-module_live_vendor
else
}
src_compile() {
- has live "${PROPERTIES}" || export GH_VERSION="v${PV}"
+ [[ ${PV} == *9999 ]] || export GH_VERSION="v${PV}"
# Golang LDFLAGS are not the same as GCC/Binutils LDFLAGS
unset LDFLAGS
emake
BDEPEND=">=dev-lang/go-1.13"
src_unpack() {
- if has live "${PROPERTIES}"; then
+ if [[ ${PV} == *9999 ]]; then
git-r3_src_unpack
go-module_live_vendor
else
}
src_compile() {
- has live "${PROPERTIES}" || export GH_VERSION="v${PV}"
+ [[ ${PV} == *9999 ]] || export GH_VERSION="v${PV}"
# Golang LDFLAGS are not the same as GCC/Binutils LDFLAGS
unset LDFLAGS
emake