From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9130E138330 for ; Mon, 8 Jan 2018 06:45:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D5B6BE0A43; Mon, 8 Jan 2018 06:45:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A3AF5E0A43 for ; Mon, 8 Jan 2018 06:45:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B37A3340CFA for ; Mon, 8 Jan 2018 06:45:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4E181199 for ; Mon, 8 Jan 2018 06:45:22 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1515393913.1b1798bf24d7e2ad5cbc4b4b4eca8d394e328bd5.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/calibre/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/calibre/calibre-2.78.0.ebuild app-text/calibre/calibre-3.15.0.ebuild app-text/calibre/calibre-3.3.0.ebuild app-text/calibre/calibre-3.8.0.ebuild X-VCS-Directories: app-text/calibre/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 1b1798bf24d7e2ad5cbc4b4b4eca8d394e328bd5 X-VCS-Branch: master Date: Mon, 8 Jan 2018 06:45:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9b30d9bb-9fb8-4b93-a321-059b4242b3dd X-Archives-Hash: 37dc5baf50ee03c441c39f1df1fd8ffd commit: 1b1798bf24d7e2ad5cbc4b4b4eca8d394e328bd5 Author: Zac Medico gentoo org> AuthorDate: Mon Jan 8 06:40:45 2018 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon Jan 8 06:45:13 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b1798bf app-text/calibre: require at least gcc 6 Closes: https://bugs.gentoo.org/589720 Package-Manager: Portage-2.3.19, Repoman-2.3.6 app-text/calibre/calibre-2.78.0.ebuild | 8 ++++++++ app-text/calibre/calibre-3.15.0.ebuild | 8 ++++++++ app-text/calibre/calibre-3.3.0.ebuild | 8 ++++++++ app-text/calibre/calibre-3.8.0.ebuild | 8 ++++++++ 4 files changed, 32 insertions(+) diff --git a/app-text/calibre/calibre-2.78.0.ebuild b/app-text/calibre/calibre-2.78.0.ebuild index 1e03a38661b..0470a20521e 100644 --- a/app-text/calibre/calibre-2.78.0.ebuild +++ b/app-text/calibre/calibre-2.78.0.ebuild @@ -81,6 +81,14 @@ DEPEND="${COMMON_DEPEND} >=virtual/podofo-build-0.8.2 virtual/pkgconfig" +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary && $(gcc-major-version) -lt 6 ]]; then + eerror "Calibre cannot be built with this version of gcc." + eerror "You need at least gcc-6.0" + die "Your C compiler is too old for this package." + fi +} + src_prepare() { # no_updates: do not annoy user with "new version is availible all the time # disable_plugins: walking sec-hole, wait for upstream to use GHNS interface diff --git a/app-text/calibre/calibre-3.15.0.ebuild b/app-text/calibre/calibre-3.15.0.ebuild index 87d9fc99591..c209a7863de 100644 --- a/app-text/calibre/calibre-3.15.0.ebuild +++ b/app-text/calibre/calibre-3.15.0.ebuild @@ -94,6 +94,14 @@ DEPEND="${COMMON_DEPEND} >=virtual/podofo-build-0.9.4 virtual/pkgconfig" +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary && $(gcc-major-version) -lt 6 ]]; then + eerror "Calibre cannot be built with this version of gcc." + eerror "You need at least gcc-6.0" + die "Your C compiler is too old for this package." + fi +} + src_prepare() { # no_updates: do not annoy user with "new version is availible all the time # disable_plugins: walking sec-hole, wait for upstream to use GHNS interface diff --git a/app-text/calibre/calibre-3.3.0.ebuild b/app-text/calibre/calibre-3.3.0.ebuild index 8cf13775969..c0d8da0d40b 100644 --- a/app-text/calibre/calibre-3.3.0.ebuild +++ b/app-text/calibre/calibre-3.3.0.ebuild @@ -91,6 +91,14 @@ DEPEND="${COMMON_DEPEND} >=virtual/podofo-build-0.9.4 virtual/pkgconfig" +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary && $(gcc-major-version) -lt 6 ]]; then + eerror "Calibre cannot be built with this version of gcc." + eerror "You need at least gcc-6.0" + die "Your C compiler is too old for this package." + fi +} + src_prepare() { # no_updates: do not annoy user with "new version is availible all the time # disable_plugins: walking sec-hole, wait for upstream to use GHNS interface diff --git a/app-text/calibre/calibre-3.8.0.ebuild b/app-text/calibre/calibre-3.8.0.ebuild index f57de91b600..09ba809e224 100644 --- a/app-text/calibre/calibre-3.8.0.ebuild +++ b/app-text/calibre/calibre-3.8.0.ebuild @@ -92,6 +92,14 @@ DEPEND="${COMMON_DEPEND} >=virtual/podofo-build-0.9.4 virtual/pkgconfig" +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary && $(gcc-major-version) -lt 6 ]]; then + eerror "Calibre cannot be built with this version of gcc." + eerror "You need at least gcc-6.0" + die "Your C compiler is too old for this package." + fi +} + src_prepare() { # no_updates: do not annoy user with "new version is availible all the time # disable_plugins: walking sec-hole, wait for upstream to use GHNS interface