From: Alon Bar-Lev Date: Fri, 19 May 2017 19:17:16 +0000 (+0300) Subject: dev-libs/botan: remove gcc version check X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=bf2e1823a5cfb26705c44288193f0a98277dd16c;p=gentoo.git 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 --- diff --git a/dev-libs/botan/botan-2.1.0.ebuild b/dev-libs/botan/botan-2.1.0.ebuild index 65915b5a5e39..68a37543dcc7 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 \