summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-06-06 19:58:24 +0000
committerMike Frysinger <vapier@gentoo.org>2012-06-06 19:58:24 +0000
commitd14ebf1e55cc12c1e85c8ead43e809e7454cad8f (patch)
treef15ff4675ed7eda0c55e490877d5a37ab24153ad /dev-util/mingw64-runtime
parentarm stable, bug #419245 (diff)
downloadgentoo-2-d14ebf1e55cc12c1e85c8ead43e809e7454cad8f.tar.gz
gentoo-2-d14ebf1e55cc12c1e85c8ead43e809e7454cad8f.tar.bz2
gentoo-2-d14ebf1e55cc12c1e85c8ead43e809e7454cad8f.zip
Always provide mingw symlink in sysroot for gcc #419601 by Alon Bar-Lev.
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/mingw64-runtime')
-rw-r--r--dev-util/mingw64-runtime/ChangeLog5
-rw-r--r--dev-util/mingw64-runtime/mingw64-runtime-2.0.1.ebuild11
2 files changed, 11 insertions, 5 deletions
diff --git a/dev-util/mingw64-runtime/ChangeLog b/dev-util/mingw64-runtime/ChangeLog
index 1e7af00ebbe0..04028010e25e 100644
--- a/dev-util/mingw64-runtime/ChangeLog
+++ b/dev-util/mingw64-runtime/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/mingw64-runtime
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw64-runtime/ChangeLog,v 1.9 2012/03/12 05:26:31 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw64-runtime/ChangeLog,v 1.10 2012/06/06 19:58:24 vapier Exp $
+
+ 06 Jun 2012; Mike Frysinger <vapier@gentoo.org> mingw64-runtime-2.0.1.ebuild:
+ Always provide mingw symlink in sysroot for gcc #419601 by Alon Bar-Lev.
*mingw64-runtime-2.0.1 (12 Mar 2012)
diff --git a/dev-util/mingw64-runtime/mingw64-runtime-2.0.1.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-2.0.1.ebuild
index 759afd659b2b..01d58a3ea261 100644
--- a/dev-util/mingw64-runtime/mingw64-runtime-2.0.1.ebuild
+++ b/dev-util/mingw64-runtime/mingw64-runtime-2.0.1.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-util/mingw64-runtime/mingw64-runtime-2.0.1.ebuild,v 1.1 2012/03/12 05:26:31 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw64-runtime/mingw64-runtime-2.0.1.ebuild,v 1.2 2012/06/06 19:58:24 vapier Exp $
export CBUILD=${CBUILD:-${CHOST}}
export CTARGET=${CTARGET:-${CHOST}}
@@ -60,9 +60,12 @@ src_compile() {
src_install() {
insinto /usr/${CTARGET}/usr/include
doins -r "${WORKDIR}"/sysroot/usr/${CTARGET}/include/* || die
- is_crosscompile \
- && dosym usr /usr/${CTARGET}/${CTARGET} \
- && dosym usr/include /usr/${CTARGET}/sys-include
+ if is_crosscompile ; then
+ # gcc is configured to look at specific hard-coded paths for mingw #419601
+ dosym usr /usr/${CTARGET}/mingw
+ dosym usr /usr/${CTARGET}/${CTARGET}
+ dosym usr/include /usr/${CTARGET}/sys-include
+ fi
just_headers && return 0
emake install DESTDIR="${D}" || die