--- /usr/portage/media-gfx/jhead/jhead-2.86.ebuild 2009-05-20 21:06:16.000000000 +0300 +++ jhead-2.87.ebuild 2009-06-23 17:50:07.195139587 +0300 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-gfx/jhead/jhead-2.86.ebuild,v 1.7 2009/05/20 17:57:04 armin76 Exp $ -inherit toolchain-funcs +inherit eutils flag-o-matic toolchain-funcs DESCRIPTION="Exif Jpeg camera setting parser and thumbnail remover" HOMEPAGE="http://www.sentex.net/~mwandel/jhead" @@ -13,8 +13,15 @@ KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86" IUSE="" +src_unpack() { + unpack ${A} + + cd "${S}" + epatch "${FILESDIR}"/${PN}-respect_flags.patch + epatch "${FILESDIR}"/${PN}-mkstemp.patch +} + src_compile() { - tc-export CC emake || die "emake failed." }