Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 371951 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/sys-devel/llvm/llvm-2.9-r2.ebuild (-2 / +7 lines)
Lines 1-6 Link Here
1
# Copyright 1999-2011 Gentoo Foundation
1
# Copyright 1999-2011 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-2.9-r2.ebuild,v 1.1 2011/05/23 11:43:47 voyageur Exp $
3
# $Header: $
4
4
5
EAPI="3"
5
EAPI="3"
6
inherit eutils flag-o-matic multilib toolchain-funcs
6
inherit eutils flag-o-matic multilib toolchain-funcs
Lines 12-18 Link Here
12
LICENSE="UoI-NCSA"
12
LICENSE="UoI-NCSA"
13
SLOT="0"
13
SLOT="0"
14
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
14
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
15
IUSE="alltargets debug +libffi llvm-gcc ocaml test udis86 vim-syntax"
15
IUSE="alltargets debug gold +libffi llvm-gcc ocaml test udis86 vim-syntax"
16
16
17
DEPEND="dev-lang/perl
17
DEPEND="dev-lang/perl
18
	>=sys-devel/make-3.79
18
	>=sys-devel/make-3.79
Lines 22-27 Link Here
22
	!~sys-devel/bison-1.875
22
	!~sys-devel/bison-1.875
23
	|| ( >=sys-devel/gcc-3.0 >=sys-devel/gcc-apple-4.2.1 )
23
	|| ( >=sys-devel/gcc-3.0 >=sys-devel/gcc-apple-4.2.1 )
24
	|| ( >=sys-devel/binutils-2.18 >=sys-devel/binutils-apple-3.2.3 )
24
	|| ( >=sys-devel/binutils-2.18 >=sys-devel/binutils-apple-3.2.3 )
25
	gold? ( >=sys-devel/binutils-2.21 )
25
	libffi? ( dev-util/pkgconfig
26
	libffi? ( dev-util/pkgconfig
26
		virtual/libffi )
27
		virtual/libffi )
27
	ocaml? ( dev-lang/ocaml )
28
	ocaml? ( dev-lang/ocaml )
Lines 105-110 Link Here
105
		CONF_FLAGS="${CONF_FLAGS} --enable-pic"
106
		CONF_FLAGS="${CONF_FLAGS} --enable-pic"
106
	fi
107
	fi
107
108
109
	if use gold; then
110
		CONF_FLAGS="${CONF_FLAGS} --with-binutils-include=/usr/include/"
111
	fi
112
108
	# things would be built differently depending on whether llvm-gcc is
113
	# things would be built differently depending on whether llvm-gcc is
109
	# used or not.
114
	# used or not.
110
	local LLVM_GCC_DIR=/dev/null
115
	local LLVM_GCC_DIR=/dev/null

Return to bug 371951