From 53f642f8ae83a529815458e99ad5e9012d9d6aa4 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 16 Apr 2004 05:34:21 +0000 Subject: fix ugly/wrong ebuild --- media-libs/libemf/libemf-1.0.ebuild | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'media-libs/libemf') 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 } -- cgit v1.2.3-65-gdbad