cmake-bootstrap: clarify that this cmake has no network support

This commit is contained in:
Đoàn Trần Công Danh 2023-12-25 09:14:44 +07:00
parent 8befc1927e
commit 3468a5f0bc
2 changed files with 12 additions and 1 deletions

View File

@ -174,3 +174,14 @@
mark_as_advanced(CURL_DISABLE_FTP)
option(CURL_DISABLE_GETOPTIONS "disables curl_easy_options API for existing options to curl_easy_setopt" OFF)
mark_as_advanced(CURL_DISABLE_GETOPTIONS)
--- a/Utilities/cmcurl/lib/strerror.c
+++ b/Utilities/cmcurl/lib/strerror.c
@@ -61,7 +61,7 @@ curl_easy_strerror(CURLcode error)
return "No error";
case CURLE_UNSUPPORTED_PROTOCOL:
- return "Unsupported protocol";
+ return "Unsupported protocol, xbps-src's cmake has no network";
case CURLE_FAILED_INIT:
return "Failed initialization";

View File

@ -1,7 +1,7 @@
# Template file for 'cmake-bootstrap'
pkgname=cmake-bootstrap
version=3.27.6
revision=1
revision=2
build_style=cmake
configure_args="-DCMake_INSTALL_INFIX=libexec/xbps-src/
-DCMAKE_SKIP_BOOTSTRAP_TEST=1 -DCMAKE_SKIP_RPATH=OFF