commit:     bf2e1823a5cfb26705c44288193f0a98277dd16c
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Fri May 19 19:17:16 2017 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Fri May 19 19:17:23 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf2e1823

dev-libs/botan: remove gcc version check

long since there was an issue with gcc C++11.

Bug: 618958

Package-Manager: Portage-2.3.5, Repoman-2.3.1

 dev-libs/botan/botan-2.1.0.ebuild | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/dev-libs/botan/botan-2.1.0.ebuild 
b/dev-libs/botan/botan-2.1.0.ebuild
index 65915b5a5e3..68a37543dcc 100644
--- a/dev-libs/botan/botan-2.1.0.ebuild
+++ b/dev-libs/botan/botan-2.1.0.ebuild
@@ -33,15 +33,6 @@ DEPEND="${RDEPEND}
        dev-lang/python:*
        doc? ( dev-python/sphinx )"
 
-pkg_pretend() {
-       # Botan 1.11 requires -std=c++11
-       if [[ ${MERGE_TYPE} != binary ]]; then
-               [[ $(gcc-major-version) -lt 4 ]] || \
-               ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 7 
]] ) \
-               && die "Sorry, but gcc 4.7 or higher is required."
-       fi
-}
-
 src_prepare() {
        default
        use doc || sed \

Reply via email to