$ pkg info -l llvm-devel | fgrep libomp /usr/local/llvm-devel/lib/libomp.so /usr/local/llvm-devel/lib/libomptarget.so $ echo 'int main() {}' >a.c $ clang-devel -fopenmp a.c /usr/bin/ld: cannot find -lomp clang-9: error: linker command failed with exit code 1 (use -v to see invocation) Can you apply devel/llvm80/files/clang/patch-fopenmp.diff ?
Wait, the patch is there but %%LLVM_PREFIX%% isn't substituted unlike in devel/llvm80.
Created attachment 203144 [details] v0
A commit references this bug: Author: brooks Date: Mon Apr 1 18:00:36 UTC 2019 New revision: 497499 URL: https://svnweb.freebsd.org/changeset/ports/497499 Log: Update to a new snapshot. Correct finding libopenmp. PR: 236788 Submitted by: jbeich Changes: head/devel/llvm-devel/Makefile head/devel/llvm-devel/Makefile.snapshot head/devel/llvm-devel/distinfo head/devel/llvm-devel/pkg-plist
hopefully fixed.