commit: f1a9b0bc9d6758d6dd960610a65019022deb04aa Author: Jaak Ristioja <jaak <AT> ristioja <DOT> ee> AuthorDate: Thu Jul 28 22:02:58 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Jul 30 09:20:26 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1a9b0bc
dev-lang/ghc: Fixed symlink creation to non-existent directory [sam: USE=ghcbootstrap as noted by stikonas] Closes: https://bugs.gentoo.org/860276 Signed-off-by: Jaak Ristioja <jaak <AT> ristioja.ee> Closes: https://github.com/gentoo/gentoo/pull/26640 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-lang/ghc/ghc-9.0.2.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-lang/ghc/ghc-9.0.2.ebuild b/dev-lang/ghc/ghc-9.0.2.ebuild index 49acb75d8338..e943844a1b69 100644 --- a/dev-lang/ghc/ghc-9.0.2.ebuild +++ b/dev-lang/ghc/ghc-9.0.2.ebuild @@ -424,6 +424,7 @@ src_prepare() { # ffi headers don't get included in the binpkg for some reason for f in "${WORKDIR}/usr/$(get_libdir)/${PN}-${BIN_PV}/include/"{ffi.h,ffitarget.h} do + mkdir -p "$(dirname "${f}")" [[ -e "${f}" ]] || ln -sf "$($(tc-getPKG_CONFIG) --cflags-only-I libffi | sed "s/-I//g" | tr -d " ")/$(basename "${f}")" "${f}" || die done
