patches/ebuilds: podman: Fix cross compiling
Gentoo bugs [902569][0] and [902571][1] [0]: https://bugs.gentoo.org/show_bug.cgi?id=902569 [1]: https://bugs.gentoo.org/show_bug.cgi?id=902571gentoo
parent
1779f5564c
commit
2854380e2d
|
@ -0,0 +1,13 @@
|
|||
--- a/podman-4.4.1.ebuild 2023-03-22 01:23:44.252387512 -0000
|
||||
+++ b/podman-4.4.1.ebuild 2023-03-22 01:36:23.424387512 -0000
|
||||
@@ -37,8 +37,8 @@
|
||||
selinux? ( sys-libs/libselinux:= )
|
||||
"
|
||||
DEPEND="
|
||||
- ${COMMON_DEPEND}
|
||||
- dev-go/go-md2man"
|
||||
+ ${COMMON_DEPEND}"
|
||||
+BDEPEND="dev-go/go-md2man"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
fuse? ( sys-fs/fuse-overlayfs )
|
||||
selinux? ( sec-policy/selinux-podman )"
|
|
@ -0,0 +1,11 @@
|
|||
--- a/podman-4.4.1-r1.ebuild 2023-03-23 16:15:10.845405285 -0000
|
||||
+++ b/podman-4.4.1-r1.ebuild 2023-03-23 16:15:54.433405285 -0000
|
||||
@@ -60,6 +60,8 @@
|
||||
has_version -b '>=dev-lang/go-1.13.9' || makefile_sed_args+=(-e 's:GO111MODULE=off:GO111MODULE=on:')
|
||||
|
||||
sed "${makefile_sed_args[@]}" -i Makefile || die
|
||||
+
|
||||
+ tc-export CC LD
|
||||
}
|
||||
|
||||
src_compile() {
|
Loading…
Reference in New Issue