diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2002-08-27 04:51:24 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2002-08-27 04:51:24 +0000 |
commit | 9914b95b0f65735866b6f5ed667bfcde25e0f533 (patch) | |
tree | e7a92f0db6501bfc2b6af0b0e4624cb6dec16ca8 /media-libs/id3lib | |
parent | added ChangeLog (diff) | |
download | gentoo-2-9914b95b0f65735866b6f5ed667bfcde25e0f533.tar.gz gentoo-2-9914b95b0f65735866b6f5ed667bfcde25e0f533.tar.bz2 gentoo-2-9914b95b0f65735866b6f5ed667bfcde25e0f533.zip |
slightly improved gcc version check. bug #6982
Diffstat (limited to 'media-libs/id3lib')
-rw-r--r-- | media-libs/id3lib/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/id3lib/id3lib-3.8.0.ebuild | 8 |
2 files changed, 10 insertions, 5 deletions
diff --git a/media-libs/id3lib/ChangeLog b/media-libs/id3lib/ChangeLog index 7c769fbe6ce8..9eede470a5c2 100644 --- a/media-libs/id3lib/ChangeLog +++ b/media-libs/id3lib/ChangeLog @@ -1,9 +1,14 @@ # ChangeLog for media-libs/id3lib # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/media-libs/id3lib/ChangeLog,v 1.4 2002/08/24 06:15:11 mkennedy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/id3lib/ChangeLog,v 1.5 2002/08/27 04:51:24 mkennedy Exp $ *id3lib-3.8.0 (23 Aug 2002) + 26 Aug 2002; Matthew Kennedy <mkennedy@gentoo.org> + id3lib-3.8.0.ebuild, ChangeLog : + + Slightly improved the gcc check. Resolves bug #6982. + 23 Aug 2002; Matthew Kennedy <mkennedy@gentoo.org> id3lib-3.8.0.ebuild, ChangeLog, files/digest-id3lib-3.8.0 : diff --git a/media-libs/id3lib/id3lib-3.8.0.ebuild b/media-libs/id3lib/id3lib-3.8.0.ebuild index e38fd1922178..116bc2c5d1c2 100644 --- a/media-libs/id3lib/id3lib-3.8.0.ebuild +++ b/media-libs/id3lib/id3lib-3.8.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/media-libs/id3lib/id3lib-3.8.0.ebuild,v 1.1 2002/08/24 06:15:11 mkennedy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/id3lib/id3lib-3.8.0.ebuild,v 1.2 2002/08/27 04:51:24 mkennedy Exp $ MY_P=${P/_/} S=${WORKDIR}/${MY_P} @@ -19,9 +19,9 @@ src_unpack() { unpack ${A} - if [ "`gcc --version | cut -f1 -d.`" -eq 3 ] || - ([ -n "${CXX}" ] && [ "`${CXX} --version | cut -f1 -d.`" -eq 3 ]) || - [ "`gcc --version|grep gcc|cut -f1 -d.|cut -f3 -d\ `" -eq 3 ] + if [ "`gcc --version | cut -f1 -d.`" == "3" ] || + ([ -n "${CXX}" ] && [ "`${CXX} --version | cut -f1 -d.`" == "3" ]) || + [ "`gcc --version|grep gcc|cut -f1 -d.|cut -f3 -d\ `" == "3" ] then cd ${S} # Removed azarah's patch for _pre2 (doesn't seem to be |