diff options
author | Andreas Sturmlechner <andreas.sturmlechner@gmail.com> | 2016-02-06 14:56:30 +0100 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2016-02-22 18:04:42 +0100 |
commit | b872c592e255afa57e63f140ba322847b4a5c694 (patch) | |
tree | faeb871eb815acd0511b10232b32844bbff270d8 /app-text/libetonyek | |
parent | dev-util/mdds: 1.1.0 version bump, bug 572616 (diff) | |
download | gentoo-b872c592e255afa57e63f140ba322847b4a5c694.tar.gz gentoo-b872c592e255afa57e63f140ba322847b4a5c694.tar.bz2 gentoo-b872c592e255afa57e63f140ba322847b4a5c694.zip |
app-text/libetonyek: Check for GCC >= 4.8, bug 557348
Pin mdds DEPEND to slot 0.
Package-Manager: portage-2.2.27
Diffstat (limited to 'app-text/libetonyek')
-rw-r--r-- | app-text/libetonyek/libetonyek-0.1.3.ebuild | 13 | ||||
-rw-r--r-- | app-text/libetonyek/libetonyek-9999.ebuild | 9 | ||||
-rw-r--r-- | app-text/libetonyek/metadata.xml | 8 |
3 files changed, 24 insertions, 6 deletions
diff --git a/app-text/libetonyek/libetonyek-0.1.3.ebuild b/app-text/libetonyek/libetonyek-0.1.3.ebuild index b28954866d73..295a5d8ed2c2 100644 --- a/app-text/libetonyek/libetonyek-0.1.3.ebuild +++ b/app-text/libetonyek/libetonyek-0.1.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -25,7 +25,7 @@ RDEPEND=" " DEPEND="${RDEPEND} >=dev-libs/boost-1.46 - >=dev-util/mdds-0.12.1 + >=dev-util/mdds-0.12.1:0 media-libs/glm sys-devel/libtool virtual/pkgconfig @@ -33,6 +33,15 @@ DEPEND="${RDEPEND} test? ( dev-util/cppunit ) " +pkg_pretend() { + if [[ $(gcc-major-version) -lt 4 ]] || { + [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 8 ]]; } + then + eerror "Compilation with gcc older than 4.8 is not supported" + die "Too old gcc found." + fi +} + src_prepare() { [[ -d m4 ]] || mkdir "m4" base_src_prepare diff --git a/app-text/libetonyek/libetonyek-9999.ebuild b/app-text/libetonyek/libetonyek-9999.ebuild index 649d81202695..210690067492 100644 --- a/app-text/libetonyek/libetonyek-9999.ebuild +++ b/app-text/libetonyek/libetonyek-9999.ebuild @@ -33,6 +33,15 @@ DEPEND="${RDEPEND} test? ( dev-util/cppunit ) " +pkg_pretend() { + if [[ $(gcc-major-version) -lt 4 ]] || { + [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 8 ]]; } + then + eerror "Compilation with gcc older than 4.8 is not supported" + die "Too old gcc found." + fi +} + src_prepare() { [[ -d m4 ]] || mkdir "m4" base_src_prepare diff --git a/app-text/libetonyek/metadata.xml b/app-text/libetonyek/metadata.xml index 9d67a9d55246..13ce236ee519 100644 --- a/app-text/libetonyek/metadata.xml +++ b/app-text/libetonyek/metadata.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer type="project"> - <email>office@gentoo.org</email> - <name>Gentoo Office project</name> -</maintainer> + <maintainer type="project"> + <email>office@gentoo.org</email> + <name>Gentoo Office project</name> + </maintainer> </pkgmetadata> |