summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2003-06-24 21:40:19 +0000
committerLuca Barbato <lu_zero@gentoo.org>2003-06-24 21:40:19 +0000
commit8afbf8c7af34b88e5fb5e538329d2cdb56fd82f3 (patch)
tree3799bf10f9438a6d365ca31ac21d293176983e38 /media-gfx/transfig/transfig-3.2.4-r1.ebuild
parentAdded Japanese support. (diff)
downloadhistorical-8afbf8c7af34b88e5fb5e538329d2cdb56fd82f3.tar.gz
historical-8afbf8c7af34b88e5fb5e538329d2cdb56fd82f3.tar.bz2
historical-8afbf8c7af34b88e5fb5e538329d2cdb56fd82f3.zip
gcc-3.3 related fix
Diffstat (limited to 'media-gfx/transfig/transfig-3.2.4-r1.ebuild')
-rw-r--r--media-gfx/transfig/transfig-3.2.4-r1.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/media-gfx/transfig/transfig-3.2.4-r1.ebuild b/media-gfx/transfig/transfig-3.2.4-r1.ebuild
index 64f6d36138b0..516597a5c654 100644
--- a/media-gfx/transfig/transfig-3.2.4-r1.ebuild
+++ b/media-gfx/transfig/transfig-3.2.4-r1.ebuild
@@ -1,6 +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-gfx/transfig/transfig-3.2.4-r1.ebuild,v 1.2 2003/05/10 17:33:49 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/transfig/transfig-3.2.4-r1.ebuild,v 1.3 2003/06/24 21:39:32 lu_zero Exp $
+
+inherit gcc
MY_P=${P/transfig-/transfig.}
S=${WORKDIR}/${MY_P}
@@ -20,6 +22,11 @@ src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}.patch
+ #bad way to fix a bad issue
+ if [ "$(gcc-major-version)" -eq "3" -a "$(gcc-minor-version)" -ge "3" ]
+ then
+ epatch ${FILESDIR}/${P}-gcc-3.3.patch
+ fi
}
src_compile() {