From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S4GSZ-00083W-Pf for garchives@archives.gentoo.org; Sun, 04 Mar 2012 18:47:07 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 16B2BE08CA; Sun, 4 Mar 2012 18:46:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D76C2E08CA for ; Sun, 4 Mar 2012 18:46:57 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 468FE1B400E for ; Sun, 4 Mar 2012 18:46:57 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 559) id 152632004B; Sun, 4 Mar 2012 18:46:56 +0000 (UTC) From: "Mike Frysinger (vapier)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, vapier@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: toolchain.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: toolchain.eclass X-VCS-Directories: eclass X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger Content-Type: text/plain; charset=utf8 Message-Id: <20120304184656.152632004B@flycatcher.gentoo.org> Date: Sun, 4 Mar 2012 18:46:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 6bdaf9d0-bc20-41fb-998e-3c8811f56454 X-Archives-Hash: 23cb3e606ce1e7cc83c2767578a98739 vapier 12/03/04 18:46:56 Modified: toolchain.eclass Log: revise versioned symlink creation #406765 #220149 Revision Changes Path 1.524 eclass/toolchain.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.e= class?rev=3D1.524&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.e= class?rev=3D1.524&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.e= class?r1=3D1.523&r2=3D1.524 Index: toolchain.eclass =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v retrieving revision 1.523 retrieving revision 1.524 diff -u -r1.523 -r1.524 --- toolchain.eclass 4 Mar 2012 05:40:27 -0000 1.523 +++ toolchain.eclass 4 Mar 2012 18:46:55 -0000 1.524 @@ -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/eclass/toolchain.eclass,v 1.523 2012/= 03/04 05:40:27 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.524 2012/= 03/04 18:46:55 vapier Exp $ # # Maintainer: Toolchain Ninjas =20 @@ -1500,13 +1500,15 @@ [[ -f ${x} ]] && mv ${x} ${CTARGET}-${x} =20 if [[ -f ${CTARGET}-${x} ]] ; then - ln -sf ${CTARGET}-${x} ${x} + if ! is_crosscompile ; then + ln -sf ${CTARGET}-${x} ${x} + dosym ${BINPATH}/${CTARGET}-${x} \ + /usr/bin/${x}-${GCC_CONFIG_VER} + fi =20 # Create version-ed symlinks dosym ${BINPATH}/${CTARGET}-${x} \ /usr/bin/${CTARGET}-${x}-${GCC_CONFIG_VER} - dosym ${BINPATH}/${CTARGET}-${x} \ - /usr/bin/${x}-${GCC_CONFIG_VER} fi =20 if [[ -f ${CTARGET}-${x}-${GCC_CONFIG_VER} ]] ; then