summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2003-11-10 16:55:08 +0000
committerMamoru Komachi <usata@gentoo.org>2003-11-10 16:55:08 +0000
commit86add6ef5f83cb70ccf76830132bfecfe8974204 (patch)
tree5e18b9992cfd5074ca5d4bf70513b555e30a92e0 /media-libs/vflib/vflib-2.25.6-r1.ebuild
parentbumping to stable on x86 (diff)
downloadhistorical-86add6ef5f83cb70ccf76830132bfecfe8974204.tar.gz
historical-86add6ef5f83cb70ccf76830132bfecfe8974204.tar.bz2
historical-86add6ef5f83cb70ccf76830132bfecfe8974204.zip
Added a patch to compile against gcc-3.3. Closing bug #33109
Diffstat (limited to 'media-libs/vflib/vflib-2.25.6-r1.ebuild')
-rw-r--r--media-libs/vflib/vflib-2.25.6-r1.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/media-libs/vflib/vflib-2.25.6-r1.ebuild b/media-libs/vflib/vflib-2.25.6-r1.ebuild
index d527c8f68508..ff6691f84e7e 100644
--- a/media-libs/vflib/vflib-2.25.6-r1.ebuild
+++ b/media-libs/vflib/vflib-2.25.6-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/vflib/vflib-2.25.6-r1.ebuild,v 1.2 2003/08/13 13:38:50 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/vflib/vflib-2.25.6-r1.ebuild,v 1.3 2003/11/10 16:55:01 usata Exp $
-inherit eutils
+inherit gcc eutils
IUSE=""
@@ -14,7 +14,7 @@ SRC_URI="ftp://TypeHack.aial.hiroshima-u.ac.jp/pub/TypeHack/${MY_PN}-${PV}.tar.g
LICENSE="LGPL-2 GPL-2"
SLOT="2"
-KEYWORDS="x86 ~alpha ~ppc ~sparc"
+KEYWORDS="x86 alpha ppc sparc"
DEPEND=">=media-libs/freetype-1.1
<media-libs/freetype-2
@@ -27,6 +27,8 @@ S=${WORKDIR}/${MY_PN}-${PV}
src_unpack () {
unpack ${A}
epatch ${FILESDIR}/${PF}-gentoo.diff
+ [ "`gcc-major-version`" -ge "3" -a "`gcc-minor-version`" -ge "3" ] \
+ && epatch ${FILESDIR}/${P}-gcc3.diff
}
src_compile () {