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

Collapse All | Expand All

(-)clang-3.2.ebuild (-3 / +19 lines)
Lines 19-28 Link Here
19
LICENSE="UoI-NCSA"
19
LICENSE="UoI-NCSA"
20
SLOT="0"
20
SLOT="0"
21
KEYWORDS="~amd64 ~arm ~x86 ~amd64-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
21
KEYWORDS="~amd64 ~arm ~x86 ~amd64-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
22
IUSE="debug kernel_FreeBSD multitarget +static-analyzer test"
22
IUSE="c++0x debug doc kernel_FreeBSD multitarget python +static-analyzer test"
23
23
24
DEPEND="static-analyzer? ( dev-lang/perl )"
24
DEPEND="static-analyzer? ( dev-lang/perl )"
25
RDEPEND="~sys-devel/llvm-${PV}[multitarget=]"
25
RDEPEND="~sys-devel/llvm-${PV}[multitarget=,c++0x=]"
26
26
27
S=${WORKDIR}/llvm-${PV}.src
27
S=${WORKDIR}/llvm-${PV}.src
28
28
Lines 95-101 Link Here
95
		--with-optimize-option=
95
		--with-optimize-option=
96
		$(use_enable !debug optimized)
96
		$(use_enable !debug optimized)
97
		$(use_enable debug assertions)
97
		$(use_enable debug assertions)
98
		$(use_enable debug expensive-checks)"
98
		$(use_enable debug expensive-checks)
99
		$(use_enable doc doxygen)
100
		$(use_enable c++0x cxx11)"
99
101
100
	# Setup the search path to include the Prefix includes
102
	# Setup the search path to include the Prefix includes
101
	if use prefix ; then
103
	if use prefix ; then
Lines 159-164 Link Here
159
		python_execute_function install-scan-view
161
		python_execute_function install-scan-view
160
	fi
162
	fi
161
163
164
	if use python; then
165
		cd ${S}/tools/clang/bindings/python/clang
166
		install-cindex() {
167
			insinto "$(python_get_sitedir)"/clang
168
			doins cindex.py enumerations.py __init__.py
169
		}
170
		python_execute_function install-cindex
171
	fi
172
162
	# AddressSanitizer symbolizer (currently separate)
173
	# AddressSanitizer symbolizer (currently separate)
163
	dobin "${S}"/projects/compiler-rt/lib/asan/scripts/asan_symbolize.py
174
	dobin "${S}"/projects/compiler-rt/lib/asan/scripts/asan_symbolize.py
164
175
Lines 187-192 Link Here
187
198
188
	# Remove unnecessary headers on FreeBSD, bug #417171
199
	# Remove unnecessary headers on FreeBSD, bug #417171
189
	use kernel_FreeBSD && rm "${ED}"usr/$(get_libdir)/clang/${PV}/include/{arm_neon,std,float,iso,limits,tgmath,varargs}*.h
200
	use kernel_FreeBSD && rm "${ED}"usr/$(get_libdir)/clang/${PV}/include/{arm_neon,std,float,iso,limits,tgmath,varargs}*.h
201
202
	# Remove useless *.md5 and *.map files from doxygen documentation
203
	if use doc ; then
204
		cd ${D}/usr/share/doc/${PF}/html/doxygen && rm *.md5 *.map
205
	fi
190
}
206
}
191
207
192
pkg_postinst() {
208
pkg_postinst() {

Return to bug 448208