summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac@gentoo.org>2023-05-03 14:27:35 +0300
committerViorel Munteanu <ceamac@gentoo.org>2023-05-03 14:28:54 +0300
commitfa81d030f75f07a12381369ed97c9b6a99540019 (patch)
treeea44a8bcaca1f16699379f7dde7b411e6f68fe31 /dev-util/kbuild
parentdev-python/trove-classifiers: Stabilize 2023.4.29 ALLARCHES, #905633 (diff)
downloadgentoo-fa81d030f75f07a12381369ed97c9b6a99540019.tar.gz
gentoo-fa81d030f75f07a12381369ed97c9b6a99540019.tar.bz2
gentoo-fa81d030f75f07a12381369ed97c9b6a99540019.zip
dev-util/kbuild: Fix building with /bin/sh -> /bin/dash
Closes: https://bugs.gentoo.org/905419 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'dev-util/kbuild')
-rw-r--r--dev-util/kbuild/kbuild-0.1.9998.3592.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-util/kbuild/kbuild-0.1.9998.3592.ebuild b/dev-util/kbuild/kbuild-0.1.9998.3592.ebuild
index ff88c2e7b8d4..92424f61999e 100644
--- a/dev-util/kbuild/kbuild-0.1.9998.3592.ebuild
+++ b/dev-util/kbuild/kbuild-0.1.9998.3592.ebuild
@@ -46,6 +46,9 @@ pkg_setup() {
src_prepare() {
default
+ # 905419 - build fails if /bin/sh is something other than bash
+ sed 's:ln -s /bin/sh:ln -s /bin/bash:' -i bootstrap.gmk || die
+
# Add a file with the svn revision this package was pulled from
printf '%s\n' "KBUILD_SVN_REV := $(ver_cut 4)" \
> SvnInfo.kmk || die