summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2018-01-07 22:40:45 -0800
committerZac Medico <zmedico@gentoo.org>2018-01-07 22:45:13 -0800
commit1b1798bf24d7e2ad5cbc4b4b4eca8d394e328bd5 (patch)
tree88c61c594fa126e24aedf056b18b8512df147cb8 /app-text/calibre
parentdev-ruby/ffaker: add 2.8.0 (diff)
downloadgentoo-1b1798bf24d7e2ad5cbc4b4b4eca8d394e328bd5.tar.gz
gentoo-1b1798bf24d7e2ad5cbc4b4b4eca8d394e328bd5.tar.bz2
gentoo-1b1798bf24d7e2ad5cbc4b4b4eca8d394e328bd5.zip
app-text/calibre: require at least gcc 6
Closes: https://bugs.gentoo.org/589720 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-text/calibre')
-rw-r--r--app-text/calibre/calibre-2.78.0.ebuild8
-rw-r--r--app-text/calibre/calibre-3.15.0.ebuild8
-rw-r--r--app-text/calibre/calibre-3.3.0.ebuild8
-rw-r--r--app-text/calibre/calibre-3.8.0.ebuild8
4 files changed, 32 insertions, 0 deletions
diff --git a/app-text/calibre/calibre-2.78.0.ebuild b/app-text/calibre/calibre-2.78.0.ebuild
index 1e03a38661bf..0470a20521e0 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 87d9fc995915..c209a7863de2 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 8cf137759698..c0d8da0d40b3 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 f57de91b6003..09ba809e224b 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