I built devel/llvm-devel on arm64, which does not support OpenMP. Packaging failed with a missing header omp-tools.h: ===> Building package for llvm-devel-9.0.d20190122 pkg-static: Unable to access file /usr/ports/devel/llvm-devel/work/stage/usr/local/llvm-devel/lib/clang/9.0.0/include/omp-tools.h:No such file or directory *** [/usr/ports/devel/llvm-devel/work/pkg/llvm-devel-9.0.d20190122.txz] Error code 1 If I edit pkg-plist so the omp-tools.h line is prefixed with OPENMP instead of CLANG the package can be built. No patch because that's a generated file. Probably the complicated build-plist Makefile target needs editing.
A commit references this bug: Author: brooks Date: Thu Mar 7 23:16:41 UTC 2019 New revision: 495004 URL: https://svnweb.freebsd.org/changeset/ports/495004 Log: Update to a more recent shapshot. Adapt to removal of the ARM license. Allow licenses to sit somewhere other then WRKSRC. Fix the plist when OPENMP is disabled. PR: 236008 Changes: head/devel/llvm-devel/Makefile head/devel/llvm-devel/Makefile.LICENSE head/devel/llvm-devel/Makefile.snapshot head/devel/llvm-devel/distinfo head/devel/llvm-devel/pkg-plist
Thanks for the report, sorry it took so long to fix.