Last active
December 5, 2020 03:33
-
-
Save cognifloyd/f4ff46e3dcfd48ca9827c32e04a8fe90 to your computer and use it in GitHub Desktop.
Gentoo Prefix Bootstrap for Mac OS X Catalina
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Please see https://github.com/cognifloyd/prefix/blob/wip_darwin/scripts/bootstrap-prefix.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rev10 gets mostly through stage2. It finishes all the llvm deps, but does not build llvm yet.
Take note of
cognifloyd_update_tree
as this changes a couple of things in the portage tree to get this far.Three things in
bash-5.1_rc3.ebuild
:return 0
to the top ofis_release
function so it reuses the readline we just built.{
and}
to the sed regex where it is looking for$(RL_...)
it also needs to handle${RL_...}
[[ "${PV}" == *_rc* ]] || \
just beforeKEYWORDS=
which serves to make it available on x64-macos despite being a rc.Significant version bump for binutils-apple including a new ebuild and updated patches. I'm posting these changes at https://bugs.gentoo.org/693444
adjust cmake ebuild and a cmake patch:
cmake-3.13.4-prefix-dirs.patch
adds the MacOS.sdk Frameworks path. Adjust the Darwin.cmake section to look like this:cmake_src_bootstrap
incmake-3.13.5.ebuild
(I put it right after thesed ... bootstrap
lines):