summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-05-03 23:34:37 +0000
committerMike Frysinger <vapier@gentoo.org>2006-05-03 23:34:37 +0000
commit2198dc5f50a93cb4436d417f969988b86cda2629 (patch)
tree164a9b6039bf32ffd509d7bb89787c7cd4d644af /app-arch/unrar
parentReorder dependencies. (diff)
downloadgentoo-2-2198dc5f50a93cb4436d417f969988b86cda2629.tar.gz
gentoo-2-2198dc5f50a93cb4436d417f969988b86cda2629.tar.bz2
gentoo-2-2198dc5f50a93cb4436d417f969988b86cda2629.zip
fix cross-compiling #132181 by Josu López Fernández.
(Portage version: 2.1_pre10-r2)
Diffstat (limited to 'app-arch/unrar')
-rw-r--r--app-arch/unrar/unrar-3.6.2.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/app-arch/unrar/unrar-3.6.2.ebuild b/app-arch/unrar/unrar-3.6.2.ebuild
index 275585b58024..0a504b5f6642 100644
--- a/app-arch/unrar/unrar-3.6.2.ebuild
+++ b/app-arch/unrar/unrar-3.6.2.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/unrar/unrar-3.6.2.ebuild,v 1.1 2006/04/20 23:42:34 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/unrar/unrar-3.6.2.ebuild,v 1.2 2006/05/03 23:34:37 vapier Exp $
+
+inherit toolchain-funcs
MY_PN=${PN}src
DESCRIPTION="Uncompress rar files"
@@ -17,7 +19,11 @@ DEPEND="!app-arch/unrar-gpl"
S=${WORKDIR}/unrar
src_compile() {
- emake -f makefile.unix CXXFLAGS="$CXXFLAGS" STRIP="true" || die "emake failed"
+ emake \
+ -f makefile.unix \
+ CXXFLAGS="${CXXFLAGS}" \
+ CXX="$(tc-getCXX)" \
+ STRIP="true" || die "emake failed"
}
src_install() {