commit: 5dfbd7110e7333f57a7b839df4c1c51ac261ad25
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 8 08:42:43 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Aug 8 09:54:18 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dfbd711
games-emulation/dolphin: Add missing ||die
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
games-emulation/dolphin/dolphin-5.0_p20210506-r1.ebuild | 6 ++++--
games-emulation/dolphin/dolphin-9999.ebuild | 6 ++++--
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/games-emulation/dolphin/dolphin-5.0_p20210506-r1.ebuild
b/games-emulation/dolphin/dolphin-5.0_p20210506-r1.ebuild
index 8b084ec1f69..ac9393e5df3 100644
--- a/games-emulation/dolphin/dolphin-5.0_p20210506-r1.ebuild
+++ b/games-emulation/dolphin/dolphin-5.0_p20210506-r1.ebuild
@@ -119,10 +119,12 @@ src_prepare() {
done
# About 50% compile-time speedup
- use vulkan || sed -i -e '/Externals\/glslang/d' CMakeLists.txt
+ if ! use vulkan; then
+ sed -i -e '/Externals\/glslang/d' CMakeLists.txt || die
+ fi
# Remove dirty suffix: needed for netplay
- sed -i -e 's/--dirty/&=""/' CMakeLists.txt
+ sed -i -e 's/--dirty/&=""/' CMakeLists.txt || die
}
src_configure() {
diff --git a/games-emulation/dolphin/dolphin-9999.ebuild
b/games-emulation/dolphin/dolphin-9999.ebuild
index c46031141fb..29779609bc0 100644
--- a/games-emulation/dolphin/dolphin-9999.ebuild
+++ b/games-emulation/dolphin/dolphin-9999.ebuild
@@ -121,10 +121,12 @@ src_prepare() {
done
# About 50% compile-time speedup
- use vulkan || sed -i -e '/Externals\/glslang/d' CMakeLists.txt
+ if ! use vulkan; then
+ sed -i -e '/Externals\/glslang/d' CMakeLists.txt || die
+ fi
# Remove dirty suffix: needed for netplay
- sed -i -e 's/--dirty/&=""/' CMakeLists.txt
+ sed -i -e 's/--dirty/&=""/' CMakeLists.txt || die
}
src_configure() {