Index: Makefile =================================================================== --- Makefile (revision 517976) +++ Makefile (working copy) @@ -11,9 +11,7 @@ LICENSE= APACHE20 -BUILD_DEPENDS= llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT} - -USES= cmake +USES= compiler:openmp cmake USE_GITHUB= yes GH_ACCOUNT= dmlc USE_LDCONFIG= yes @@ -20,15 +18,10 @@ CMAKE_ON= BUILD_SHARED_LIBS -# use clang from ports because otherwise OpenMP isn't detected on some systems (ex. 12.0-RELEASE-p9) -CPP= clang-cpp${LLVM_DEFAULT} -CC= clang${LLVM_DEFAULT} -CXX= clang++${LLVM_DEFAULT} +.include -.include - -.if ${LLVM_DEFAULT:S,-devel,990,} >= 90 -LLVM_DEFAULT= 80 +.if ${CHOSEN_COMPILER_TYPE} == gcc +USE_GCC= yes .endif -.include +.include Index: files/patch-CMakeLists.txt =================================================================== --- files/patch-CMakeLists.txt (nonexistent) +++ files/patch-CMakeLists.txt (working copy) @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2019-11-25 13:40:31 UTC ++++ CMakeLists.txt +@@ -207,7 +207,7 @@ target_include_directories(dmlc PUBLIC + $ + $) + target_compile_definitions(dmlc PRIVATE -D_XOPEN_SOURCE=700 +- -D_POSIX_SOURCE -D_POSIX_C_SOURCE=200809L -D_DARWIN_C_SOURCE ++ -D_DARWIN_C_SOURCE + -DDMLC_CORE_USE_CMAKE) + # DMLC_CORE_USE_CMAKE macro constant indicates the use of CMake + Property changes on: files/patch-CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property