diff options
-rw-r--r-- | sci-libs/indilib-driver-qhy/indilib-driver-qhy-1.4.1.ebuild | 2 | ||||
-rw-r--r-- | sci-libs/indilib-driver-qhy/indilib-driver-qhy-9999.ebuild | 14 |
2 files changed, 8 insertions, 8 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 6d49c27..9a62014 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 @@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_PN}-${PV}/3rdparty/${INDI_TARGET_DIRECTORY}" pkg_pretend() { if [[ $(gcc-major-version) < 5 ]]; then - eerror "You need to activate GCC 5 in order to compile this driver." + 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 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 " diff --git a/sci-libs/indilib-driver-qhy/indilib-driver-qhy-9999.ebuild b/sci-libs/indilib-driver-qhy/indilib-driver-qhy-9999.ebuild index fe31a2e..07e874a 100644 --- a/sci-libs/indilib-driver-qhy/indilib-driver-qhy-9999.ebuild +++ b/sci-libs/indilib-driver-qhy/indilib-driver-qhy-9999.ebuild @@ -27,12 +27,12 @@ INDI_GIT_DIR="${PN%%lib-driver-*}${PN##*-driver}" S="${EGIT_SOURCEDIR}/3rdparty/${INDI_GIT_DIR}" 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) < 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 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 } |