summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Ostorga <vostorga@gentoo.org>2009-07-29 22:28:22 +0000
committerVictor Ostorga <vostorga@gentoo.org>2009-07-29 22:28:22 +0000
commitea49ad313d5a92c3179e03deedd7746c7d68546b (patch)
treefa7c7af06172c4acd84e67a3baf926e3d465b168 /dev-libs/libunicode/libunicode-0.4-r1.ebuild
parentwhitespace (diff)
downloadgentoo-2-ea49ad313d5a92c3179e03deedd7746c7d68546b.tar.gz
gentoo-2-ea49ad313d5a92c3179e03deedd7746c7d68546b.tar.bz2
gentoo-2-ea49ad313d5a92c3179e03deedd7746c7d68546b.zip
Respecting CC variable, closes bug #243934
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'dev-libs/libunicode/libunicode-0.4-r1.ebuild')
-rw-r--r--dev-libs/libunicode/libunicode-0.4-r1.ebuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/dev-libs/libunicode/libunicode-0.4-r1.ebuild b/dev-libs/libunicode/libunicode-0.4-r1.ebuild
index d5dbced27125..d840e3e53962 100644
--- a/dev-libs/libunicode/libunicode-0.4-r1.ebuild
+++ b/dev-libs/libunicode/libunicode-0.4-r1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libunicode/libunicode-0.4-r1.ebuild,v 1.32 2007/01/05 07:39:26 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libunicode/libunicode-0.4-r1.ebuild,v 1.33 2009/07/29 22:28:22 vostorga Exp $
+
+inherit toolchain-funcs
DESCRIPTION="Unicode library"
HOMEPAGE="http://www.gnome.org/"
@@ -11,7 +13,12 @@ SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc sparc x86"
IUSE=""
+src_compile() {
+ econf || die
+ emake CC=$(tc-getCC) || die "make failed"
+}
+
src_install() {
- make DESTDIR=${D} install || die
+ emake DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog NEWS README THANKS TODO
}