SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,16 @@
Avoid adding a dep on all headers in ${LOCALBASE}/include, not
compatible with dpb(1) junking.
Index: cmake/modules/LLVMProcessSources.cmake
--- cmake/modules/LLVMProcessSources.cmake.orig
+++ cmake/modules/LLVMProcessSources.cmake
@@ -46,6 +46,9 @@ function(find_all_header_files hdrs_out additional_hea
list(APPEND all_headers ${hds})
foreach(additional_dir ${additional_headerdirs})
+ if (${additional_dir} MATCHES "^${LOCALBASE}/include")
+ message(FATAL_ERROR "ports: refusing to scan ${additional_dir}")
+ endif()
add_header_files_for_glob(hds "${additional_dir}/*.h")
list(APPEND all_headers ${hds})
add_header_files_for_glob(hds "${additional_dir}/*.inc")