summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-04-16 05:34:21 +0000
committerMike Frysinger <vapier@gentoo.org>2004-04-16 05:34:21 +0000
commitcbf55d47d9b5277d5a82cd19fdb158ad1b94235c (patch)
tree7f6f9eeec12dca64009507d9b216ac6afb04518b /media-libs/libemf
parentfix ugly/wrong ebuild (diff)
downloadgentoo-2-cbf55d47d9b5277d5a82cd19fdb158ad1b94235c.tar.gz
gentoo-2-cbf55d47d9b5277d5a82cd19fdb158ad1b94235c.tar.bz2
gentoo-2-cbf55d47d9b5277d5a82cd19fdb158ad1b94235c.zip
fix ugly/wrong ebuild
Diffstat (limited to 'media-libs/libemf')
-rw-r--r--media-libs/libemf/libemf-1.0.ebuild16
1 files changed, 6 insertions, 10 deletions
diff --git a/media-libs/libemf/libemf-1.0.ebuild b/media-libs/libemf/libemf-1.0.ebuild
index 2069677c26ee..d0e43c894548 100644
--- a/media-libs/libemf/libemf-1.0.ebuild
+++ b/media-libs/libemf/libemf-1.0.ebuild
@@ -1,34 +1,30 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libemf/libemf-1.0.ebuild,v 1.6 2004/03/24 10:49:53 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libemf/libemf-1.0.ebuild,v 1.7 2004/04/16 05:34:21 vapier Exp $
-inherit eutils
+inherit eutils gcc
MY_P="${P/emf/EMF}"
-
DESCRIPTION="Library implementation of ECMA-234 API for the generation of enhanced metafiles."
HOMEPAGE="http://libemf.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
LICENSE="LGPL-2.1 GPL-2"
SLOT="0"
KEYWORDS="x86 ppc"
IUSE=""
-DEPEND=""
-inherit gcc
+DEPEND=""
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
- if [ $(gcc-major-version) -ge 3 ]; then
- einfo "gcc >= 3, patch needed"
- epatch ${FILESDIR}/${MY_P}-gcc3.patch
- fi
+ [ $(gcc-major-version) -ge 3 ] && epatch ${FILESDIR}/${MY_P}-gcc3.patch
}
src_compile() {
- econf --enable-editing
+ econf --enable-editing || die
emake || die
}