summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-08-03 13:24:15 +0000
committerMike Frysinger <vapier@gentoo.org>2004-08-03 13:24:15 +0000
commitd14edfb7e7052643d849a635d0870f46635d9e8d (patch)
tree2eb9f811d1e0e853402c4fa1ed6c9a00acea902d /media-gfx
parentgoodbye $COMPILER (Manifest recommit) (diff)
downloadgentoo-2-d14edfb7e7052643d849a635d0870f46635d9e8d.tar.gz
gentoo-2-d14edfb7e7052643d849a635d0870f46635d9e8d.tar.bz2
gentoo-2-d14edfb7e7052643d849a635d0870f46635d9e8d.zip
goodbye $COMPILER
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/kimagemapeditor/kimagemapeditor-0.9.5.1.ebuild19
1 files changed, 8 insertions, 11 deletions
diff --git a/media-gfx/kimagemapeditor/kimagemapeditor-0.9.5.1.ebuild b/media-gfx/kimagemapeditor/kimagemapeditor-0.9.5.1.ebuild
index 59bb43b5f851..5705fa06665a 100644
--- a/media-gfx/kimagemapeditor/kimagemapeditor-0.9.5.1.ebuild
+++ b/media-gfx/kimagemapeditor/kimagemapeditor-0.9.5.1.ebuild
@@ -1,22 +1,19 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/kimagemapeditor/kimagemapeditor-0.9.5.1.ebuild,v 1.11 2004/07/14 17:47:15 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/kimagemapeditor/kimagemapeditor-0.9.5.1.ebuild,v 1.12 2004/08/03 13:22:55 vapier Exp $
-inherit kde
+inherit kde gcc
+need-kde 3
DESCRIPTION="An imagemap editor for KDE"
-SRC_URI="mirror://sourceforge/kimagemapeditor/${P}-kde3.tar.gz"
HOMEPAGE="http://kimagemapeditor.sourceforge.net/"
-
-need-kde 3
+SRC_URI="mirror://sourceforge/kimagemapeditor/${P}-kde3.tar.gz"
LICENSE="GPL-2"
KEYWORDS="x86 ~ppc"
IUSE=""
-if [ "$COMPILER" == "gcc3" ]
-then
- PATCHES="$FILESDIR/$P-gcc3.diff"
-fi
-#changed from an && construct which causes this script to return a
-#non-zero error code. (drobbins, 02 Dec 2002)
+src_unpack() {
+ [ "`gcc-major-version`" == "3" ] && PATCHES="$FILESDIR/$P-gcc3.diff"
+ kde_src_unpack
+}