app-emulation/docker-cli: use ${PV} for CLI version

Upstream isn't updating the file regularly, so use ${PV}.

Closes: https://bugs.gentoo.org/815658
Closes: https://github.com/gentoo/gentoo/pull/22457
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Signed-off-by: William Hubbs <williamh@gentoo.org>
This commit is contained in:
Mathieu Tortuyaux 2021-10-01 16:14:34 +02:00 committed by Dongsu Park
parent 494c12850f
commit 218b96730b

View File

@ -44,7 +44,7 @@ src_compile() {
export CGO_LDFLAGS="${CGO_LDFLAGS} -L${SYSROOT}/usr/$(get_libdir)" export CGO_LDFLAGS="${CGO_LDFLAGS} -L${SYSROOT}/usr/$(get_libdir)"
emake \ emake \
LDFLAGS="$(usex hardened '-extldflags -fno-PIC' '')" \ LDFLAGS="$(usex hardened '-extldflags -fno-PIC' '')" \
VERSION="$(cat VERSION)" \ VERSION="${PV}" \
GITCOMMIT="${GIT_COMMIT}" \ GITCOMMIT="${GIT_COMMIT}" \
dynbinary dynbinary