Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 369027 - Port sys-devel/clang-2.9 changes to trunk ebuild
Summary: Port sys-devel/clang-2.9 changes to trunk ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-28 15:13 UTC by Florian Sowade
Modified: 2011-06-06 19:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
proposed patch (clang-9999.patch,1.87 KB, patch)
2011-05-28 15:17 UTC, Florian Sowade
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!