diff options
author | Göktürk Yüksek <gokturk@gentoo.org> | 2016-11-27 14:50:45 -0500 |
---|---|---|
committer | Göktürk Yüksek <gokturk@gentoo.org> | 2016-11-27 14:50:45 -0500 |
commit | af4d10cb0359ff4d6dd97c7be5e9a5499b436efe (patch) | |
tree | 718c20320a5e2e92a0f30c306dc5abb8e7f11fe0 /net-wireless/cpyrit-cuda | |
parent | dev-util/xxdiff: fix CXXFLAGS=-Werror=terminate build failure, bug #601018 (diff) | |
download | gentoo-af4d10cb0359ff4d6dd97c7be5e9a5499b436efe.tar.gz gentoo-af4d10cb0359ff4d6dd97c7be5e9a5499b436efe.tar.bz2 gentoo-af4d10cb0359ff4d6dd97c7be5e9a5499b436efe.zip |
net-wireless/cpyrit-cuda: die in pretend if gcc > 4.8
Package-Manager: portage-2.3.0
Diffstat (limited to 'net-wireless/cpyrit-cuda')
-rw-r--r-- | net-wireless/cpyrit-cuda/cpyrit-cuda-0.5.0.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net-wireless/cpyrit-cuda/cpyrit-cuda-0.5.0.ebuild b/net-wireless/cpyrit-cuda/cpyrit-cuda-0.5.0.ebuild index 3d56ede6a0fe..bdb81b426dd7 100644 --- a/net-wireless/cpyrit-cuda/cpyrit-cuda-0.5.0.ebuild +++ b/net-wireless/cpyrit-cuda/cpyrit-cuda-0.5.0.ebuild @@ -7,7 +7,7 @@ EAPI=6 PYTHON_COMPAT=( python2_7 ) DISTUTILS_SINGLE_IMPL=1 -inherit distutils-r1 +inherit toolchain-funcs distutils-r1 DESCRIPTION="A sub-package that adds CUDA-capability to Pyrit" HOMEPAGE="https://github.com/JPaulMora/Pyrit" @@ -26,6 +26,12 @@ PDEPEND="~net-wireless/pyrit-${PV}" S="${WORKDIR}/Pyrit-${PV}/modules/cpyrit_cuda" +pkg_pretend() { + if tc-is-gcc && [[ $(gcc-version) > 4.8 ]]; then + die "gcc 4.9 and up are not supported" + fi +} + pkg_setup() { python-single-r1_pkg_setup } |