From 23b84073ea79f992f1c173c44300f0eb616189ed Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Fri, 13 Mar 2026 09:53:21 +0000 Subject: [PATCH] app-containers/docker-cli: Sync with Gentoo and backport fix to stable Signed-off-by: James Le Cuirot --- .../docker-cli/docker-cli-28.4.0.ebuild | 18 +++++++++--------- .../docker-cli/docker-cli-29.1.3.ebuild | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/app-containers/docker-cli/docker-cli-28.4.0.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/docker-cli/docker-cli-28.4.0.ebuild index 67619a487c..058f0fcb4e 100644 --- a/sdk_container/src/third_party/portage-stable/app-containers/docker-cli/docker-cli-28.4.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-containers/docker-cli/docker-cli-28.4.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit shell-completion go-module +inherit shell-completion go-env go-module toolchain-funcs MY_PV=${PV/_/-} # update this on every bump @@ -43,14 +43,14 @@ src_prepare() { src_compile() { export DISABLE_WARN_OUTSIDE_CONTAINER=1 - # setup CFLAGS and LDFLAGS for separate build target - # see https://github.com/tianon/docker-overlay/pull/10 - CGO_CFLAGS+=" -I${ESYSROOT}/usr/include" - CGO_LDFLAGS+=" -L${ESYSROOT}/usr/$(get_libdir)" - emake \ - VERSION="${PV}" \ - GITCOMMIT="${GIT_COMMIT}" \ - dynbinary manpages + + myemakeargs=( + VERSION="${PV}" + GITCOMMIT="${GIT_COMMIT}" + ) + + emake "${myemakeargs[@]}" dynbinary + tc-env_build go-env_run emake "${myemakeargs[@]}" manpages } src_install() { diff --git a/sdk_container/src/third_party/portage-stable/app-containers/docker-cli/docker-cli-29.1.3.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/docker-cli/docker-cli-29.1.3.ebuild index b2243019f9..54a36776e7 100644 --- a/sdk_container/src/third_party/portage-stable/app-containers/docker-cli/docker-cli-29.1.3.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-containers/docker-cli/docker-cli-29.1.3.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit shell-completion go-module +inherit shell-completion go-env go-module toolchain-funcs MY_PV=${PV/_/-} # update this on every bump @@ -32,14 +32,14 @@ src_prepare() { src_compile() { export DISABLE_WARN_OUTSIDE_CONTAINER=1 - # setup CFLAGS and LDFLAGS for separate build target - # see https://github.com/tianon/docker-overlay/pull/10 - CGO_CFLAGS+=" -I${ESYSROOT}/usr/include" - CGO_LDFLAGS+=" -L${ESYSROOT}/usr/$(get_libdir)" - emake \ - VERSION="${PV}" \ - GITCOMMIT="${GIT_COMMIT}" \ - dynbinary manpages + + myemakeargs=( + VERSION="${PV}" + GITCOMMIT="${GIT_COMMIT}" + ) + + emake "${myemakeargs[@]}" dynbinary + tc-env_build go-env_run emake "${myemakeargs[@]}" manpages } src_install() {