Summary: | make dev-util/cmake build in a solaris prefix | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Chí-Thanh Christopher Nguyễn <chithanh> |
Component: | Prefix Support | Assignee: | Gentoo non-Linux Team <alt> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Solaris | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 237327 | ||
Bug Blocks: | 237185 | ||
Attachments: |
build.log
cmake-2.6.1-prefix-unixpaths.patch cmake-2.6.1-prefix-findcurses.patch |
Description
Chí-Thanh Christopher Nguyễn
2008-09-04 19:35:48 UTC
Created attachment 164609 [details]
build.log
build.log for cmake-2.4.8
It turns out that there are more hardcoded paths in the Modules/Find*.cmake files. They seem to be mostly unused however, I will try to find out which ones are important. Anything I can do to help? I noticed cmake needs thorough fixing... Created attachment 165123 [details, diff]
cmake-2.6.1-prefix-unixpaths.patch
patch for UnixPaths.cmake
Under certain circumstances, cmake may still fail to link against libncurses, I am still investigating this.
Created attachment 165127 [details, diff]
cmake-2.6.1-prefix-findcurses.patch
This ugly workaround will prevent libcurses from /lib from being linked in. However this is probably not the best way. Suggestions welcome :)
Thanks for your patch. I slightly changed it to fix it in such a way that cmake looks in the prefix paths first. It make it find the right curses. |