summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2017-12-05 11:43:03 +0100
committerMartin Väth <martin@mvath.de>2017-12-05 11:45:29 +0100
commit589ef1cd18b66d3237db95ecb2181734c61934e8 (patch)
treea926ee99fe1ba5846a47c49904ff9fd7dd51819a
parentapp-portage/eix: Use arrays to avoid \ at line-ends (diff)
downloadmv-589ef1cd18b66d3237db95ecb2181734c61934e8.tar.gz
mv-589ef1cd18b66d3237db95ecb2181734c61934e8.tar.bz2
mv-589ef1cd18b66d3237db95ecb2181734c61934e8.zip
app-portage/eix-0.33.0-r1: Die unless I_KNOW_WHAT_I_AM_DOING
-rw-r--r--app-portage/eix/eix-0.33.0-r1.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/app-portage/eix/eix-0.33.0-r1.ebuild b/app-portage/eix/eix-0.33.0-r1.ebuild
index 037ba50a..38670b8f 100644
--- a/app-portage/eix/eix-0.33.0-r1.ebuild
+++ b/app-portage/eix/eix-0.33.0-r1.ebuild
@@ -37,13 +37,17 @@ pkg_setup() {
then for i in /usr/*/binutils-bin/lib/bfd-plugins/liblto_plugin.*
do test -h "$i" && return
done
- ewarn "app-portage/eix[meson strong-optimization]' might fail to"
+ ewarn "app-portage/eix[meson strong-optimization] might fail to"
ewarn "emerge (link) without the linker lto plugin."
ewarn "To establish this plugin, execute as root something like"
ewarn " mkdir -p /usr/*/binutils-bin/lib/bfd-plugins"
ewarn " cd /usr/*/binutils-bin/lib/bfd-plugins"
ewarn " ln -sfn /usr/libexec/gcc/*/*/liblto_plugin.so.*.*.* ."
ewarn "The * might have to be replaced by your architecture or gcc version"
+ [ -n "$I_KNOW_WHAT_I_AM_DOING" ] || die
+ ewarn
+ ewarn "You claim: I_KNOW_WHAT_I_AM_DOING"
+ ewarn
fi
}