summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2002-08-03 10:27:19 +0000
committerDoug Goldstein <cardoe@gentoo.org>2002-08-03 10:27:19 +0000
commit63f21255e254d4a383e3e42f94c0fee739c53cc3 (patch)
treed275f0da6be60fa09a1cf5948104576373eeefe6 /media-libs/smpeg
parenta cvs snapshot that compiles against kde3 (no kde3 release exists as yet). cl... (diff)
downloadhistorical-63f21255e254d4a383e3e42f94c0fee739c53cc3.tar.gz
historical-63f21255e254d4a383e3e42f94c0fee739c53cc3.tar.bz2
historical-63f21255e254d4a383e3e42f94c0fee739c53cc3.zip
the gcc-3.1 patch doesn't work if you have gcc-2.95 so we'll only run it on gcc-3.x systems
Diffstat (limited to 'media-libs/smpeg')
-rw-r--r--media-libs/smpeg/smpeg-0.4.4-r3.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/media-libs/smpeg/smpeg-0.4.4-r3.ebuild b/media-libs/smpeg/smpeg-0.4.4-r3.ebuild
index ea8af92c70ca..d8adc77618c3 100644
--- a/media-libs/smpeg/smpeg-0.4.4-r3.ebuild
+++ b/media-libs/smpeg/smpeg-0.4.4-r3.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/smpeg/smpeg-0.4.4-r3.ebuild,v 1.1 2002/08/03 09:25:05 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/smpeg/smpeg-0.4.4-r3.ebuild,v 1.2 2002/08/03 10:27:19 cardoe Exp $
S=${WORKDIR}/${P}
DESCRIPTION="SDL MPEG Player Library"
@@ -19,9 +19,11 @@ src_unpack() {
unpack ${P}.tar.gz
- ## GCC 3.1 fix from bug #5558 (cardoe 08/03/02
+ ## GCC 3.1 fix from bug #5558 (cardoe 08/03/02)
cd ${S}
- patch -p1 < ${FILESDIR}/${P}-gcc-3.1.patch || die
+ if [ `gcc -dumpversion | cut -d"." -f1` == "3" ] ; then
+ patch -p1 < ${FILESDIR}/${P}-gcc-3.1.patch || die
+ fi
}