summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2012-11-11 21:23:49 +0000
committerMichael Weber <xmw@gentoo.org>2012-11-11 21:23:49 +0000
commit233378875b34108d096813e080ee68c39c4cba19 (patch)
tree66ff6643bef6c8d52556d90696ed780c402c5336 /dev-libs/libcss/libcss-0.1.2.ebuild
parentVersion bump for 2.6.32 and 3.2 series (diff)
downloadhistorical-233378875b34108d096813e080ee68c39c4cba19.tar.gz
historical-233378875b34108d096813e080ee68c39c4cba19.tar.bz2
historical-233378875b34108d096813e080ee68c39c4cba19.zip
Cross compile fix (bug 431884, James Le Cuirot)
Package-Manager: portage-2.1.11.31/cvs/Linux x86_64 Manifest-Sign-Key: 0x62EEF090
Diffstat (limited to 'dev-libs/libcss/libcss-0.1.2.ebuild')
-rw-r--r--dev-libs/libcss/libcss-0.1.2.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-libs/libcss/libcss-0.1.2.ebuild b/dev-libs/libcss/libcss-0.1.2.ebuild
index 84f66a27988f..5506076794c3 100644
--- a/dev-libs/libcss/libcss-0.1.2.ebuild
+++ b/dev-libs/libcss/libcss-0.1.2.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/dev-libs/libcss/libcss-0.1.2.ebuild,v 1.5 2012/07/23 06:25:29 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcss/libcss-0.1.2.ebuild,v 1.6 2012/11/11 21:23:41 xmw Exp $
EAPI=4
@@ -26,6 +26,8 @@ src_prepare() {
-i Makefile || die
sed -e "/^libdir/s:/lib:/$(get_libdir):g" \
-i ${PN}.pc.in || die
+ sed -e "s/\$\$(HOST_CC)/$(tc-getBUILD_CC)/g" \
+ -i src/parse/properties/Makefile || die
echo "Q := " >> Makefile.config.override
echo "CC := $(tc-getCC)" >> Makefile.config.override
echo "AR := $(tc-getAR)" >> Makefile.config.override