diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-12-29 10:28:50 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-12-29 10:28:50 +0000 |
commit | f42e1d04da1df2c07054c3cd95a75fe5c288882a (patch) | |
tree | 631add38d259a822480660c2a0a4c5d6b88c5a62 /media-gfx | |
parent | sh love (diff) | |
download | gentoo-2-f42e1d04da1df2c07054c3cd95a75fe5c288882a.tar.gz gentoo-2-f42e1d04da1df2c07054c3cd95a75fe5c288882a.tar.bz2 gentoo-2-f42e1d04da1df2c07054c3cd95a75fe5c288882a.zip |
touchups and sh love
(Portage version: 2.1_pre2)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/fbv/fbv-1.0b.ebuild | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/media-gfx/fbv/fbv-1.0b.ebuild b/media-gfx/fbv/fbv-1.0b.ebuild index 7d787e86c53e..c8071c6e49aa 100644 --- a/media-gfx/fbv/fbv-1.0b.ebuild +++ b/media-gfx/fbv/fbv-1.0b.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/fbv/fbv-1.0b.ebuild,v 1.7 2005/08/10 13:13:06 metalgod Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/fbv/fbv-1.0b.ebuild,v 1.8 2005/12/29 10:28:50 vapier Exp $ inherit toolchain-funcs eutils @@ -10,8 +10,8 @@ SRC_URI="http://s-tech.elsat.net.pl/fbv/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ppc ppc64 x86" -IUSE="png gif jpeg" +KEYWORDS="~amd64 ~ppc ppc64 sh x86" +IUSE="bmp gif jpeg png" DEPEND="gif? ( media-libs/giflib ) jpeg? ( media-libs/jpeg ) @@ -19,14 +19,14 @@ DEPEND="gif? ( media-libs/giflib ) src_unpack() { unpack ${A} - cd ${S} - epatch ${FILESDIR}/oob-segfault-fbv-${PV}.diff || die "bad patch" + cd "${S}" + epatch "${FILESDIR}"/oob-segfault-fbv-${PV}.diff sed -e 's/-lungif/-lgif/g' -i Makefile -i configure } src_compile() { - local myconf - + local myconf="" + use bmp || myconf-"${myconf} --without-bmp" use png || myconf="${myconf} --without-libpng" use gif || myconf="${myconf} --without-libungif" use jpeg || myconf="${myconf} --without-libjpeg" @@ -35,7 +35,6 @@ src_compile() { --mandir=/usr/share/man \ --infodir=/usr/share/info \ ${myconf} || die "econf failed" - emake CC="$(tc-getCC) ${CFLAGS}" || die } |