summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2008-11-27 22:18:56 +0000
committerJeroen Roovers <jer@gentoo.org>2008-11-27 22:18:56 +0000
commitcb1e33a73b5e961614c9f8e6e0d83059aa134687 (patch)
tree1a1e04ac69188fd9ad3831577f521ca8c16a679f
parentsparc/x86 stable (diff)
downloadgentoo-2-cb1e33a73b5e961614c9f8e6e0d83059aa134687.tar.gz
gentoo-2-cb1e33a73b5e961614c9f8e6e0d83059aa134687.tar.bz2
gentoo-2-cb1e33a73b5e961614c9f8e6e0d83059aa134687.zip
Hmm, better not do tc-export in global scope.
(Portage version: 2.1.6_rc2/cvs/Linux 2.6.25-gentoo-r7-JeR i686)
-rw-r--r--media-gfx/jpeginfo/ChangeLog5
-rw-r--r--media-gfx/jpeginfo/jpeginfo-1.6.0.ebuild8
2 files changed, 10 insertions, 3 deletions
diff --git a/media-gfx/jpeginfo/ChangeLog b/media-gfx/jpeginfo/ChangeLog
index 5711441bbc49..7795ae5add0e 100644
--- a/media-gfx/jpeginfo/ChangeLog
+++ b/media-gfx/jpeginfo/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-gfx/jpeginfo
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/jpeginfo/ChangeLog,v 1.14 2008/11/27 21:39:21 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/jpeginfo/ChangeLog,v 1.15 2008/11/27 22:18:56 jer Exp $
+
+ 27 Nov 2008; Jeroen Roovers <jer@gentoo.org> jpeginfo-1.6.0.ebuild:
+ Hmm, better not do tc-export in global scope.
27 Nov 2008; Jeroen Roovers <jer@gentoo.org> jpeginfo-1.6.0.ebuild:
Respect CC variable (bug #244156).
diff --git a/media-gfx/jpeginfo/jpeginfo-1.6.0.ebuild b/media-gfx/jpeginfo/jpeginfo-1.6.0.ebuild
index 813f77002cca..056d76a082a3 100644
--- a/media-gfx/jpeginfo/jpeginfo-1.6.0.ebuild
+++ b/media-gfx/jpeginfo/jpeginfo-1.6.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/jpeginfo/jpeginfo-1.6.0.ebuild,v 1.14 2008/11/27 21:39:21 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/jpeginfo/jpeginfo-1.6.0.ebuild,v 1.15 2008/11/27 22:18:56 jer Exp $
inherit toolchain-funcs
@@ -16,7 +16,11 @@ KEYWORDS="alpha amd64 ppc ppc64 sparc x86"
DEPEND=">=media-libs/jpeg-6b"
-tc-export CC
+src_compile() {
+ tc-export CC
+ econf || die "econf failed"
+ emake || die "emake failed"
+}
src_install() {
make INSTALL_ROOT="${D}" install || die