Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 369027

Summary: Port sys-devel/clang-2.9 changes to trunk ebuild
Product: Gentoo Linux Reporter: Florian Sowade <f.sowade-gentoo>
Component: New packagesAssignee: Bernard Cafarelli <voyageur>
Status: RESOLVED FIXED    
Severity: normal CC: f.sowade-gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: proposed patch

Description Florian Sowade 2011-05-28 15:13:21 UTC
The latest sys-devel/clang ebuild (2.9) has some changes, which should, from my point of view, be incorporated to the trunk ebuild.
I am using clang trunk and especially had problems, because --with-c-include-dirs=/usr/include:${CXX_PATH}/include" is missing in the trunk ebuild.

Reproducible: Always
Comment 1 Florian Sowade 2011-05-28 15:17:04 UTC
Created attachment 274891 [details, diff]
proposed patch

clang-2.9-darwin-prefix.patch does not apply cleanly on current trunk, so I did not merge it.
And I don't understand the change inside src_install() -> if [[ ${CHOST} == *-darwin* ]] so I did not merge it, either.
Comment 2 Bernard Cafarelli gentoo-dev 2011-06-06 09:15:14 UTC
Thanks for spotting this! Indeed clang (and also llvm) live ebuilds lack some of the recent changes. I'll fix them ASAP
Comment 3 Bernard Cafarelli gentoo-dev 2011-06-06 19:41:23 UTC
llvm-9999 and clang-9999 are now up-to-date again, thanks for the report and patch!