summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2014-05-10 22:32:59 +0000
committerMichał Górny <mgorny@gentoo.org>2014-05-10 22:32:59 +0000
commit996d77bbd60711c15bd9bc371525c1fc4dd754d6 (patch)
tree381e933a46ab92f9c112cf1e6c21657dbcf85bd3 /sys-devel
parentversion bump (diff)
downloadgentoo-2-996d77bbd60711c15bd9bc371525c1fc4dd754d6.tar.gz
gentoo-2-996d77bbd60711c15bd9bc371525c1fc4dd754d6.tar.bz2
gentoo-2-996d77bbd60711c15bd9bc371525c1fc4dd754d6.zip
Fix creating libLLVM-3.4.so compatibility alias.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/llvm/ChangeLog8
-rw-r--r--sys-devel/llvm/llvm-3.4.1-r1.ebuild (renamed from sys-devel/llvm/llvm-3.4.1.ebuild)8
2 files changed, 13 insertions, 3 deletions
diff --git a/sys-devel/llvm/ChangeLog b/sys-devel/llvm/ChangeLog
index f9cfecb140a8..2e52f12b2136 100644
--- a/sys-devel/llvm/ChangeLog
+++ b/sys-devel/llvm/ChangeLog
@@ -1,6 +1,12 @@
# 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.195 2014/05/10 10:06:57 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.196 2014/05/10 22:32:59 mgorny Exp $
+
+*llvm-3.4.1-r1 (10 May 2014)
+
+ 10 May 2014; Michał Górny <mgorny@gentoo.org> +llvm-3.4.1-r1.ebuild,
+ -llvm-3.4.1.ebuild:
+ Fix creating libLLVM-3.4.so compatibility alias.
10 May 2014; Michał Górny <mgorny@gentoo.org> llvm-3.4.1.ebuild:
Bump subslot since library name changes anyway. Unnecessarily.
diff --git a/sys-devel/llvm/llvm-3.4.1.ebuild b/sys-devel/llvm/llvm-3.4.1-r1.ebuild
index d59bbdaf204f..0881ad16c441 100644
--- a/sys-devel/llvm/llvm-3.4.1.ebuild
+++ b/sys-devel/llvm/llvm-3.4.1-r1.ebuild
@@ -1,6 +1,6 @@
# 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-3.4.1.ebuild,v 1.3 2014/05/10 10:06:57 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-3.4.1-r1.ebuild,v 1.1 2014/05/10 22:32:59 mgorny Exp $
EAPI=5
@@ -21,7 +21,7 @@ SRC_URI="http://llvm.org/releases/${PV}/${P}.src.tar.gz
!doc? ( http://dev.gentoo.org/~mgorny/dist/${PN}-3.4-manpages.tar.bz2 )"
LICENSE="UoI-NCSA"
-SLOT="0/3.4.1"
+SLOT="0/3.4"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos"
IUSE="clang debug doc gold +libffi multitarget ncurses ocaml python
+static-analyzer test udis86 xml video_cards_radeon
@@ -403,6 +403,10 @@ multilib_src_install() {
emake "${MAKEARGS[@]}" DESTDIR="${root}" install
multibuild_merge_root "${root}" "${D}"
+ # Fix broken alias.
+ ln -sf libLLVM-${PV}$(get_libname) \
+ "${ED%/}"/usr/$(get_libdir)/libLLVM-3.4$(get_libname) || die
+
if ! multilib_is_native_abi; then
# Backwards compat, will be happily removed someday.
dosym "${CHOST}"-llvm-config /usr/bin/llvm-config.${ABI}