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

Collapse All | Expand All

(-)clang-3.3.ebuild (-2 / +9 lines)
Lines 18-28 Link Here
18
LICENSE="UoI-NCSA"
18
LICENSE="UoI-NCSA"
19
SLOT="0"
19
SLOT="0"
20
KEYWORDS="~amd64 ~arm ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
20
KEYWORDS="~amd64 ~arm ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
21
IUSE="debug kernel_FreeBSD multitarget python +static-analyzer test"
21
IUSE="c++0x debug doc kernel_FreeBSD multitarget python +static-analyzer test"
22
22
23
DEPEND="static-analyzer? ( dev-lang/perl )
23
DEPEND="static-analyzer? ( dev-lang/perl )
24
	${PYTHON_DEPS}"
24
	${PYTHON_DEPS}"
25
RDEPEND="~sys-devel/llvm-${PV}[debug=,multitarget=]
25
RDEPEND="~sys-devel/llvm-${PV}[c++0x=,debug=,multitarget=]
26
	${PYTHON_DEPS}"
26
	${PYTHON_DEPS}"
27
27
28
S=${WORKDIR}/llvm-${PV}.src
28
S=${WORKDIR}/llvm-${PV}.src
Lines 99-104 Link Here
99
		$(use_enable !debug optimized)
99
		$(use_enable !debug optimized)
100
		$(use_enable debug assertions)
100
		$(use_enable debug assertions)
101
		$(use_enable debug expensive-checks)
101
		$(use_enable debug expensive-checks)
102
		$(use_enable doc doxygen)
103
		$(use_enable c++0x cxx11)
102
		--with-clang-resource-dir=../$(get_libdir)/clang/${PV/_rc*}"
104
		--with-clang-resource-dir=../$(get_libdir)/clang/${PV/_rc*}"
103
105
104
	# Setup the search path to include the Prefix includes
106
	# Setup the search path to include the Prefix includes
Lines 206-209 Link Here
206
208
207
	# Remove unnecessary headers on FreeBSD, bug #417171
209
	# Remove unnecessary headers on FreeBSD, bug #417171
208
	use kernel_FreeBSD && rm "${ED}"usr/$(get_libdir)/clang/${PV}/include/{arm_neon,std,float,iso,limits,tgmath,varargs}*.h
210
	use kernel_FreeBSD && rm "${ED}"usr/$(get_libdir)/clang/${PV}/include/{arm_neon,std,float,iso,limits,tgmath,varargs}*.h
211
212
	# Remove useless *.md5 and *.map files from doxygen documentation
213
	if use doc ; then
214
		cd ${D}/usr/share/doc/${PF}/html/doxygen && rm *.md5 *.map
215
	fi
209
}
216
}

Return to bug 475728