Summary: | =sys-devel/clang-4.0.0-r2: fails to install because scan-build.1 doesn't exist on G/FBSD | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Yuta SATOH <nigoro.dev> |
Component: | FreeBSD | Assignee: | LLVM support project <llvm> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | bsd+disabled, mgorny |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | FreeBSD | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | sample patch for clang-4.0.0-r2.ebuild |
Description
Yuta SATOH
2017-05-31 11:11:10 UTC
Created attachment 474738 [details, diff] sample patch for clang-4.0.0-r2.ebuild I simply added '-DCMAKE_INSTALL_MANDIR:PATH="share/man"' to mycmakeargs. Taken from https://svnweb.freebsd.org/ports/head/devel/llvm-devel/Makefile?view=markup&pathrev=428179#l29 Results of applying this patch) # ls -1 /var/tmp/portage/sys-devel/clang-4.0.0-r2/image//usr/lib/llvm/4/share/man/man1/ clang.1.bz2 extraclangtools.1.bz2 scan-build.1.bz2 # find /var/tmp/portage/sys-devel/clang-4.0.0-r2/image -name scan-build.1* /var/tmp/portage/sys-devel/clang-4.0.0-r2/image/usr/lib/llvm/4/share/man/man1/scan-build.1.bz2 FWICS, it's because the old version of LLVM didn't use CMAKE_INSTALL_MANDIR consistently. Do you have any clue why it defaults to 'man' rather than 'share/man' on BSD? I think this bug has been fixed by bug 649200. closing. *** This bug has been marked as a duplicate of bug 649200 *** |