diff options
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> |