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 1P9sJS-0002kN-Mk for garchives@archives.gentoo.org; Sun, 24 Oct 2010 04:36:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B7282E07A3; Sun, 24 Oct 2010 04:36:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 8C7C2E07A3 for ; Sun, 24 Oct 2010 04:36:01 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 19F2C1B401A for ; Sun, 24 Oct 2010 04:36:01 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2139) id A0CF820051; Sun, 24 Oct 2010 04:35:59 +0000 (UTC) From: "Alexis Ballier (aballier)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, aballier@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: texlive-common.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: texlive-common.eclass X-VCS-Directories: eclass X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier Content-Type: text/plain; charset=utf8 Message-Id: <20101024043559.A0CF820051@flycatcher.gentoo.org> Date: Sun, 24 Oct 2010 04:35:59 +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: 82e24731-5a0d-41ad-a67f-5275eaba3e3e X-Archives-Hash: c6d321d35e545ac9688d12fae1012f20 aballier 10/10/24 04:35:59 Modified: texlive-common.eclass Log: Let dobin_texmf_scripts die if the link is broken... but only for TeX L= ive 2010 and later so that we avoid breaking existing ebuilds Revision Changes Path 1.13 eclass/texlive-common.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/texlive-com= mon.eclass?rev=3D1.13&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/texlive-com= mon.eclass?rev=3D1.13&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/texlive-com= mon.eclass?r1=3D1.12&r2=3D1.13 Index: texlive-common.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/texlive-common.eclass,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- texlive-common.eclass 9 Jan 2010 16:03:22 -0000 1.12 +++ texlive-common.eclass 24 Oct 2010 04:35:59 -0000 1.13 @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-common.eclass,v 1.12 2= 010/01/09 16:03:22 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-common.eclass,v 1.13 2= 010/10/24 04:35:59 aballier Exp $ =20 # @ECLASS: texlive-common.eclass # @MAINTAINER: @@ -119,6 +119,9 @@ while [ $# -gt 0 ] ; do local trg=3D$(basename ${1} | sed 's,\.[^/]*$,,' | tr '[:upper:]' '[:l= ower:]') einfo "Installing ${1} as ${trg} bin wrapper" + if [ "${PV#2008}" =3D "${PV}" -a "${PV#2009}" =3D "${PV}" ] ; then + [ -x "${D}/usr/share/${1}" ] || die "Trying to install a non existing= or non executable symlink to /usr/bin: ${1}" + fi dosym ../share/${1} /usr/bin/${trg} || die "failed to install ${1} as = $trg" shift done