Diff llvm-18.0.0.9999 with a llvm-18.0.0_pre20230925

/usr/portage/sys-devel/llvm/llvm-18.0.0_pre20230925.ebuild 2023-10-09 14:52:35.488368501 +0300
55 55
		>=sys-devel/binutils-apple-5.1
56 56
	)
57 57
	doc? ( $(python_gen_any_dep '
58
		dev-python/myst-parser[${PYTHON_USEDEP}]
58
		dev-python/recommonmark[${PYTHON_USEDEP}]
59 59
		dev-python/sphinx[${PYTHON_USEDEP}]
60 60
	') )
61 61
	libffi? ( virtual/pkgconfig )
......
80 80
python_check_deps() {
81 81
	use doc || return 0
82 82

  
83
	python_has_version -b "dev-python/myst-parser[${PYTHON_USEDEP}]" &&
83
	python_has_version -b "dev-python/recommonmark[${PYTHON_USEDEP}]" &&
84 84
	python_has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]"
85 85
}
86 86

  
......
438 438
		)
439 439
	fi
440 440

  
441
	# On Macos prefix, Gentoo doesn't split sys-libs/ncurses to libtinfo and
442
	# libncurses, but llvm tries to use libtinfo before libncurses, and ends up
443
	# using libtinfo (actually, libncurses.dylib) from system instead of prefix
444
	use kernel_Darwin && mycmakeargs+=(
445
		-DTerminfo_LIBRARIES=-lncurses
446
	)
447

  
448 441
	# workaround BMI bug in gcc-7 (fixed in 7.4)
449 442
	# https://bugs.gentoo.org/649880
450 443
	# apply only to x86, https://bugs.gentoo.org/650506
Thank you!