Created attachment 209425 [details] patch Use USES=compiler:openmp instead of hard dependency on ports LLVM. Use new GCC when using base GCC. Remove -D_POSIX_SOURCE -D_POSIX_C_SOURCE=200809L, this causes some errno.h macros not being visible.
Approved as mentor (builds on ppcports).
Now see D22580.
A commit references this bug: Author: pkubaj Date: Fri Nov 29 22:24:46 UTC 2019 New revision: 518679 URL: https://svnweb.freebsd.org/changeset/ports/518679 Log: devel/dmlc-core: fix build on GCC architectures Use USES=compiler:openmp instead of hard dependency on ports LLVM. Use new GCC when using base GCC. Remove -D_POSIX_SOURCE -D_POSIX_C_SOURCE=200809L, this causes some errno.h macros not being visible. PR: 242234 Approved by: yuri (maintainer), linimon (mentor) Differential Revision: https://reviews.freebsd.org/D22580 Changes: head/devel/dmlc-core/Makefile head/devel/dmlc-core/files/ head/devel/dmlc-core/files/patch-CMakeLists.txt