Summary: | cmake-3.13.5 fails to build during darwin prefix bootstrap | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Jacob Floyd <cognifloyd+gentoobugs> |
Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | OS X | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=757513 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 755644 | ||
Attachments: |
Modified prefix-dirs patch for cmake-3.13
Modified prefix-dirs patch for cmake 3.16+ updated cmake-3.13.5.ebuild |
Description
Jacob Floyd
2020-11-28 23:48:19 UTC
Created attachment 675640 [details]
Modified prefix-dirs patch for cmake-3.13
This is the modified patch that adds the SDK path to the framework search path in cmake. It should allow cmake to find frameworks when building other applications.
Created attachment 675643 [details]
Modified prefix-dirs patch for cmake 3.16+
This is the prefix-dirs patch used in all the newer cmake ebuilds. I made the same change to it to add the SDK Frameworks search path.
Created attachment 675646 [details] updated cmake-3.13.5.ebuild This includes these lines in cmake_src_bootstrap (which is called in src_prepare if cmake is not already installed): > local sdk_frameworks="${EPREFIX}/MacOSX.sdk/System/Library/Frameworks" > if [[ -d "${sdk_frameworks}" ]]; then > # ensure frameworks are found for darwin prefix > append-cflags $(test-flags-CC "-F${sdk_frameworks}") > append-cxxflags $(test-flags-CXX "-F${sdk_frameworks}") > fi So, this is a minor change that should not impact anyone except those that are building on Darwin. Is a revbump required? I think we should fix 3.13 first, and then deal with 3.16+ in conjunction with bug#757513 Closing in favor of the changes in bug#757513 *** This bug has been marked as a duplicate of bug 757513 *** |