Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 675796 Details for
Bug 757513
Re-enable building newer cmake on clang-based darwin prefix
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch cmake-3.19.1.ebuild
cmake-3.19.1.ebuild.patch (text/plain), 1.91 KB, created by
Jacob Floyd
on 2020-11-30 00:46:20 UTC
(
hide
)
Description:
Patch cmake-3.19.1.ebuild
Filename:
MIME Type:
Creator:
Jacob Floyd
Created:
2020-11-30 00:46:20 UTC
Size:
1.91 KB
patch
obsolete
>--- cmake-3.19.1.ebuild.orig.txt 2020-11-29 18:40:57.000000000 -0600 >+++ cmake-3.19.1.ebuild 2020-11-29 18:34:24.000000000 -0600 >@@ -18,14 +18,15 @@ > SLOT="0" > [[ "${PV}" = *_rc* ]] || \ > KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" >-IUSE="doc emacs ncurses qt5 test" >+IUSE="doc emacs ncurses qt5 +system-jsoncpp test" >+#system-jsoncpp is only meant to be disabled during prefix bootstrapping > RESTRICT="!test? ( test )" > > RDEPEND=" > >=app-arch/libarchive-3.3.3:= > app-crypt/rhash > >=dev-libs/expat-2.0.1 >- >=dev-libs/jsoncpp-1.9.2-r2:0= >+ system-jsoncpp? ( >=dev-libs/jsoncpp-1.9.2-r2:0= ) > >=dev-libs/libuv-1.10.0:= > >=net-misc/curl-7.21.5[ssl] > sys-libs/zlib >@@ -77,6 +78,13 @@ > -e '/"${cmake_bootstrap_dir}\/cmake"/s/^/#DONOTRUN /' \ > bootstrap || die "sed failed" > >+ 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 >+ > # execinfo.h on Solaris isn't quite what it is on Darwin > if [[ ${CHOST} == *-solaris* ]] ; then > sed -i -e 's/execinfo\.h/blablabla.h/' \ >@@ -137,6 +145,9 @@ > # where things are via GCC configuration and ldwrapper > sed -i -e '/cmake_gnu_set_sysroot_flag/d' \ > Modules/Platform/Apple-GNU-C{,XX}.cmake || die >+ # disable isysroot usage with clang as well >+ sed -i -e '/_SYSROOT_FLAG/d' \ >+ Modules/Platform/Apple-Clang.cmake || die > fi > > # Add gcc libs to the default link paths >@@ -157,6 +168,7 @@ > > local mycmakeargs=( > -DCMAKE_USE_SYSTEM_LIBRARIES=ON >+ -DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=$(usex system-jsoncpp) > -DCMAKE_DOC_DIR=/share/doc/${PF} > -DCMAKE_MAN_DIR=/share/man > -DCMAKE_DATA_DIR=/share/${PN}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 757513
:
675634
|
675637
| 675796 |
675799
|
676357
|
677521