diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2013-09-19 13:58:04 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2013-09-19 13:58:04 +0000 |
commit | baeed5a14e7fcc0469be37495ab98bf8512d2168 (patch) | |
tree | 6ae2f2a891f1d17e3f716582fd42dd480d67352f /sys-apps/kmod/kmod-15.ebuild | |
parent | old (diff) | |
download | historical-baeed5a14e7fcc0469be37495ab98bf8512d2168.tar.gz historical-baeed5a14e7fcc0469be37495ab98bf8512d2168.tar.bz2 historical-baeed5a14e7fcc0469be37495ab98bf8512d2168.zip |
Check compiler (preprocessor) version only if it's GNU GCC wrt #485310 by "eroen"
Package-Manager: portage-2.2.6/cvs/Linux x86_64
Manifest-Sign-Key: 0x4868F14D
Diffstat (limited to 'sys-apps/kmod/kmod-15.ebuild')
-rw-r--r-- | sys-apps/kmod/kmod-15.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-apps/kmod/kmod-15.ebuild b/sys-apps/kmod/kmod-15.ebuild index 53fe6d5669a2..6ec5433665d0 100644 --- a/sys-apps/kmod/kmod-15.ebuild +++ b/sys-apps/kmod/kmod-15.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-15.ebuild,v 1.1 2013/08/24 12:03:31 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-15.ebuild,v 1.2 2013/09/19 13:57:58 ssuominen Exp $ EAPI=5 inherit autotools eutils libtool multilib toolchain-funcs versionator @@ -38,8 +38,8 @@ DEPEND="${RDEPEND} zlib? ( virtual/pkgconfig )" pkg_setup() { - version_is_at_least 4.6 $(gcc-version) || \ - die "At least sys-devel/gcc >= 4.6 is required to build ${CATEGORY}/${PN}." #481020 + [[ $(tc-getCPP) == *cpp ]] && ! version_is_at_least 4.6 $(gcc-version) && \ + die "You need at least GNU GCC 4.6.x to build this package." #481020 } src_prepare() { |