diff options
author | 2006-12-31 15:53:11 +0000 | |
---|---|---|
committer | 2006-12-31 15:53:11 +0000 | |
commit | d6315be886a26002230b879632f166ef7cc0ffc2 (patch) | |
tree | 65c84e3f39f673f32ba0eddb5e107f79e8d7de72 /net-p2p/mute/mute-0.5.ebuild | |
parent | dev-python/genshi: New ebuild for bug 159441 (diff) | |
download | sunrise-d6315be886a26002230b879632f166ef7cc0ffc2.tar.gz sunrise-d6315be886a26002230b879632f166ef7cc0ffc2.tar.bz2 sunrise-d6315be886a26002230b879632f166ef7cc0ffc2.zip |
net-p2p/mute: Add test for gcc version
svn path=/sunrise/; revision=2553
Diffstat (limited to 'net-p2p/mute/mute-0.5.ebuild')
-rw-r--r-- | net-p2p/mute/mute-0.5.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net-p2p/mute/mute-0.5.ebuild b/net-p2p/mute/mute-0.5.ebuild index 3c7b07f7e..5aea46712 100644 --- a/net-p2p/mute/mute-0.5.ebuild +++ b/net-p2p/mute/mute-0.5.ebuild @@ -32,6 +32,13 @@ src_unpack() { rm TranslationHelper.txt } +pkg_setup() { + if [ $(gcc-major-version) -ge 4 ]; then + einfo "${P} doesn't compile with gcc version >= 4" + die "${P} needs gcc version < 4" + fi +} + src_compile() { export WX_GTK_VER=2.6 need-wxwidgets gtk2 || die |