summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCtibor Brančík <ctibor@brancik.cz>2017-03-08 20:55:51 +0100
committerCtibor Brančík <ctibor@brancik.cz>2017-03-08 20:55:51 +0100
commitc0b33c3aa8027630bebafde8512f9db1029d9831 (patch)
tree805575056218249831f43b987afb17a56b29c079
parentb17c21737cc597c71e77fd56b42c6d886c1fd9af (diff)
downloadbrancik-overlay-c0b33c3aa8027630bebafde8512f9db1029d9831.tar.gz
brancik-overlay-c0b33c3aa8027630bebafde8512f9db1029d9831.tar.bz2
Better error message for sci-libs/indilib-driver-qhy
-rw-r--r--sci-libs/indilib-driver-qhy/indilib-driver-qhy-1.4.1.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/sci-libs/indilib-driver-qhy/indilib-driver-qhy-1.4.1.ebuild b/sci-libs/indilib-driver-qhy/indilib-driver-qhy-1.4.1.ebuild
index 6124dde..7d3122e 100644
--- a/sci-libs/indilib-driver-qhy/indilib-driver-qhy-1.4.1.ebuild
+++ b/sci-libs/indilib-driver-qhy/indilib-driver-qhy-1.4.1.ebuild
@@ -29,9 +29,10 @@ S="${WORKDIR}/${MY_PN}-${PV}/3rdparty/${INDI_TARGET_DIRECTORY}"
pkg_pretend() {
if gcc-major-version lt 5 ; then
eerror "You need to activate GCC 5 in order to compile this driver."
- eerror "This is because the binary included in sci-libs/libqhy has been compiled with GCC 5"
- eerror "Install >sys-devel/gcc-5.0.0, then rebuild at least sci-libs/indilib."
- eerror "Upgrading GCC is major task. Please refer to https://wiki.gentoo.org/wiki/Upgrading_GCC beforehand"
- eerror "and especialy to https://wiki.gentoo.org/wiki/Upgrading_GCC#libstdc.2B.2B.so.6:_version_.60GLIBCXX_3.4.15.27_not_found"
+ eerror "This is because the binary included in sci-libs/libqhy has been built"
+ eerror "with GCC 5. You need to install and activate sys-devel/gcc-5*"
+ eerror "Please refer onto https://wiki.gentoo.org/wiki/Upgrading_GCC "
+ eerror "for complete Gentoo GCC upgrading guide."
+ die "GCC 5 is needed to build this package!"
fi
}