diff options
author | Ctibor Brančík <ctibor@brancik.cz> | 2017-03-08 20:47:39 +0100 |
---|---|---|
committer | Ctibor Brančík <ctibor@brancik.cz> | 2017-03-08 20:47:39 +0100 |
commit | b17c21737cc597c71e77fd56b42c6d886c1fd9af (patch) | |
tree | b53991564f504770ce67c81fc9c9a6d70c484c2a | |
parent | 73b5b6f550a3b8600b55889183ccfb06c1e77204 (diff) | |
download | brancik-overlay-b17c21737cc597c71e77fd56b42c6d886c1fd9af.tar.gz brancik-overlay-b17c21737cc597c71e77fd56b42c6d886c1fd9af.tar.bz2 |
Make sci-libs/indilib-driver-qhy check actually work
-rw-r--r-- | sci-libs/indilib-driver-qhy/indilib-driver-qhy-1.4.1.ebuild | 13 |
1 files changed, 6 insertions, 7 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 c492259..6124dde 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 @@ -27,12 +27,11 @@ INDI_TARGET_DIRECTORY="${PN%%lib-driver-**}${PN##*-driver}" S="${WORKDIR}/${MY_PN}-${PV}/3rdparty/${INDI_TARGET_DIRECTORY}" pkg_pretend() { - if gcc-major-version < 5; then - ewarn "You need to activate GCC 5 in order to compile this driver." - ewarn "This is because the binary included in sci-libs/libqhy has been compiled with GCC 5" - ewarn "Install >sys-devel/gcc-5.0.0, then rebuild at least sci-libs/indilib." - ewarn "Upgrading GCC is major task. Please refer to https://wiki.gentoo.org/wiki/Upgrading_GCC beforehand" - ewarn "and especialy to https://wiki.gentoo.org/wiki/Upgrading_GCC#libstdc.2B.2B.so.6:_version_.60GLIBCXX_3.4.15.27_not_found" - die "${PN} won't build with <sys-devel/gcc-5.0.0" + 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" fi } |