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
This commit is contained in:
Alon Bar-Lev
2017-05-19 22:17:16 +03:00
parent 530e35e636
commit bf2e1823a5

View File

@@ -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 \