From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A8646138A1F for ; Thu, 10 Apr 2014 17:03:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2DAC0E0ABF; Thu, 10 Apr 2014 17:03:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AE63DE0ABF for ; Thu, 10 Apr 2014 17:03:26 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 87331340105 for ; Thu, 10 Apr 2014 17:03:25 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2279) id 2B22E2004B; Thu, 10 Apr 2014 17:03:24 +0000 (UTC) From: "Michal Gorny (mgorny)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, mgorny@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: llvm-9999.ebuild ChangeLog X-VCS-Repository: gentoo-x86 X-VCS-Files: llvm-9999.ebuild ChangeLog X-VCS-Directories: sys-devel/llvm X-VCS-Committer: mgorny X-VCS-Committer-Name: Michal Gorny Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20140410170324.2B22E2004B@flycatcher.gentoo.org> Date: Thu, 10 Apr 2014 17:03:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2b842a70-b898-4ec5-9f8b-e8f63decff6c X-Archives-Hash: 025116b7ea66f6e379384c4f1ec10706 mgorny 14/04/10 17:03:24 Modified: llvm-9999.ebuild ChangeLog Log: Re-apply the install phase fixes for multilib-portage (bug #506398) and /tmp ownership (bug #506472). For now, just the live ebuild. (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) Revision Changes Path 1.83 sys-devel/llvm/llvm-9999.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.83&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.83&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.82&r2=1.83 Index: llvm-9999.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v retrieving revision 1.82 retrieving revision 1.83 diff -u -r1.82 -r1.83 --- llvm-9999.ebuild 7 Apr 2014 20:59:49 -0000 1.82 +++ llvm-9999.ebuild 10 Apr 2014 17:03:23 -0000 1.83 @@ -1,13 +1,13 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.82 2014/04/07 20:59:49 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.83 2014/04/10 17:03:23 mgorny Exp $ EAPI=5 PYTHON_COMPAT=( python{2_6,2_7} pypy pypy2_0 ) -inherit cmake-utils eutils flag-o-matic git-r3 multilib multilib-minimal \ - python-r1 toolchain-funcs pax-utils check-reqs +inherit cmake-utils eutils flag-o-matic git-r3 multibuild multilib \ + multilib-minimal python-r1 toolchain-funcs pax-utils check-reqs DESCRIPTION="Low Level Virtual Machine" HOMEPAGE="http://llvm.org/" @@ -65,6 +65,10 @@ # so why did it call itself ninja in the first place? CMAKE_MAKEFILE_GENERATOR=emake +MULTILIB_CHOST_TOOLS=( + /usr/bin/llvm-config +) + pkg_pretend() { # in megs # !clang !debug !multitarget -O2 400 @@ -371,25 +375,15 @@ local MAKEARGS set_makeargs - emake "${MAKEARGS[@]}" DESTDIR="${D}" install + local root=${D}/_${ABI} - # Preserve ABI-variant of llvm-config. - dodir /tmp - mv "${ED}"/usr/bin/llvm-config "${ED}"/tmp/"${CHOST}"-llvm-config || die + emake "${MAKEARGS[@]}" DESTDIR="${root}" install + multibuild_merge_root "${root}" "${D}" if ! multilib_build_binaries; then - # Drop all the executables since LLVM doesn't like to - # clobber when installing. - rm -r "${ED}"/usr/bin || die - # Backwards compat, will be happily removed someday. - dosym "${CHOST}"-llvm-config /tmp/llvm-config.${ABI} + dosym "${CHOST}"-llvm-config /usr/bin/llvm-config.${ABI} else - # Move files back. - mv "${ED}"/tmp/*llvm-config* "${ED}"/usr/bin || die - # Create a symlink for host's llvm-config. - dosym "${CHOST}"-llvm-config /usr/bin/llvm-config - # Install docs. doman "${S}"/docs/_build/man/*.1 use clang && doman "${T}"/clang.1 1.187 sys-devel/llvm/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.187&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.187&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.186&r2=1.187 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v retrieving revision 1.186 retrieving revision 1.187 diff -u -r1.186 -r1.187 --- ChangeLog 7 Apr 2014 20:59:49 -0000 1.186 +++ ChangeLog 10 Apr 2014 17:03:23 -0000 1.187 @@ -1,6 +1,10 @@ # ChangeLog for sys-devel/llvm # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.186 2014/04/07 20:59:49 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.187 2014/04/10 17:03:23 mgorny Exp $ + + 10 Apr 2014; Michał Górny llvm-9999.ebuild: + Re-apply the install phase fixes for multilib-portage (bug #506398) and /tmp + ownership (bug #506472). For now, just the live ebuild. 07 Apr 2014; Michał Górny llvm-9999.ebuild: Update PYTHON_COMPAT in the live ebuild.