summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-04-19 04:53:26 +0000
committerMike Frysinger <vapier@gentoo.org>2006-04-19 04:53:26 +0000
commit51b70239266c9fb61c84ca58179aee441e137761 (patch)
tree4c41edbc8387f90a19487b6b1e3e9b8eec7cf1fb /sys-libs/timezone-data
parentVersion bump 130286 by F. Steinel. (diff)
downloadgentoo-2-51b70239266c9fb61c84ca58179aee441e137761.tar.gz
gentoo-2-51b70239266c9fb61c84ca58179aee441e137761.tar.bz2
gentoo-2-51b70239266c9fb61c84ca58179aee441e137761.zip
export CC for cross-compiling #128306 by Josu López Fernández
(Portage version: 2.1_pre9)
Diffstat (limited to 'sys-libs/timezone-data')
-rw-r--r--sys-libs/timezone-data/timezone-data-2006c.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys-libs/timezone-data/timezone-data-2006c.ebuild b/sys-libs/timezone-data/timezone-data-2006c.ebuild
index 45391ca90d54..ef43f7e0c89c 100644
--- a/sys-libs/timezone-data/timezone-data-2006c.ebuild
+++ b/sys-libs/timezone-data/timezone-data-2006c.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/timezone-data-2006c.ebuild,v 1.2 2006/04/17 07:28:08 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/timezone-data-2006c.ebuild,v 1.3 2006/04/19 04:53:26 vapier Exp $
-inherit eutils
+inherit eutils toolchain-funcs
DESCRIPTION="Timezone data (/usr/share/zoneinfo) and utilities (tzselect/zic/zdump)"
HOMEPAGE="ftp://elsie.nci.nih.gov/pub/"
@@ -23,6 +23,11 @@ src_unpack() {
epatch "${FILESDIR}"/${PN}-2005n-makefile.patch
}
+src_compile() {
+ tc-export CC
+ emake || die "emake failed"
+}
+
src_install() {
make install DESTDIR="${D}" || die
rm -rf "${D}"/usr/share/zoneinfo-leaps