summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-09-19 18:34:25 +0000
committerMike Frysinger <vapier@gentoo.org>2012-09-19 18:34:25 +0000
commit10362258fac17f7b811ba11cf68009db0909faaf (patch)
tree8b91222a78d5fbbd0824503ed5f2f688bdbbaabf /sys-apps/file
parentbump, thx to M.Dummer for the hint (diff)
downloadgentoo-2-10362258fac17f7b811ba11cf68009db0909faaf.tar.gz
gentoo-2-10362258fac17f7b811ba11cf68009db0909faaf.tar.bz2
gentoo-2-10362258fac17f7b811ba11cf68009db0909faaf.zip
Use BUILD_{CC,CXX} when cross-compiling #435324 by Ambroz Bizjak.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/file')
-rw-r--r--sys-apps/file/ChangeLog5
-rw-r--r--sys-apps/file/file-5.11.ebuild5
2 files changed, 8 insertions, 2 deletions
diff --git a/sys-apps/file/ChangeLog b/sys-apps/file/ChangeLog
index 8ed508bf2f6d..cdf4e7eed13e 100644
--- a/sys-apps/file/ChangeLog
+++ b/sys-apps/file/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/file
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/ChangeLog,v 1.226 2012/09/06 19:51:01 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/ChangeLog,v 1.227 2012/09/19 18:34:25 vapier Exp $
+
+ 19 Sep 2012; Mike Frysinger <vapier@gentoo.org> file-5.11.ebuild:
+ Use BUILD_{CC,CXX} when cross-compiling #435324 by Ambroz Bizjak.
06 Sep 2012; Mike Frysinger <vapier@gentoo.org> metadata.xml:
List upstream bugzilla.
diff --git a/sys-apps/file/file-5.11.ebuild b/sys-apps/file/file-5.11.ebuild
index c980da1e13f5..daffdd232ed5 100644
--- a/sys-apps/file/file-5.11.ebuild
+++ b/sys-apps/file/file-5.11.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/file-5.11.ebuild,v 1.8 2012/07/26 16:35:01 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/file-5.11.ebuild,v 1.9 2012/09/19 18:34:25 vapier Exp $
EAPI="2"
PYTHON_DEPEND="python? *"
@@ -47,6 +47,7 @@ src_configure() {
# because people often don't keep matching host/target
# file versions #362941
if tc-is-cross-compiler && ! ROOT=/ has_version ~${CATEGORY}/${P} ; then
+ tc-export_build_env BUILD_C{C,XX}
ac_cv_header_zlib_h=no \
ac_cv_lib_z_gzopen=no \
CHOST=${CBUILD} \
@@ -54,6 +55,8 @@ src_configure() {
CXXFLAGS=${BUILD_CXXFLAGS} \
CPPFLAGS=${BUILD_CPPFLAGS} \
LDFLAGS="${BUILD_LDFLAGS} -static" \
+ CC=${BUILD_CC} \
+ CXX=${BUILD_CXX} \
do_configure --disable-shared
fi