git: ff8928f8b8f4 - main - net/socketw: Add support for cmake 4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 28 Sep 2026 05:33:36 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ff8928f8b8f4e341425a20555884ca96f5068973
commit ff8928f8b8f4e341425a20555884ca96f5068973
Author: Thibault Payet <monwarez@mailoo.org>
AuthorDate: 2026-09-27 17:12:21 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-28 05:32:10 +0000
net/socketw: Add support for cmake 4
PR: 298917
---
net/socketw/Makefile | 1 +
net/socketw/files/patch-CMakeLists.txt | 15 +++++++++++++++
2 files changed, 16 insertions(+)
diff --git a/net/socketw/Makefile b/net/socketw/Makefile
index 48f2cf651d2a..78de7f4ab52e 100644
--- a/net/socketw/Makefile
+++ b/net/socketw/Makefile
@@ -1,5 +1,6 @@
PORTNAME= socketw
DISTVERSION= 3.11.0
+PORTREVISION= 1
CATEGORIES= net
MAINTAINER= monwarez@mailoo.org
diff --git a/net/socketw/files/patch-CMakeLists.txt b/net/socketw/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..7aa57e46c67e
--- /dev/null
+++ b/net/socketw/files/patch-CMakeLists.txt
@@ -0,0 +1,15 @@
+--- CMakeLists.txt.orig 2022-03-18 09:17:18 UTC
++++ CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.0.2)
++cmake_minimum_required(VERSION 3.10)
+
+ # Required for conan
+ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_BINARY_DIR})
+@@ -82,4 +82,4 @@ install(
+ FILES ${CMAKE_BINARY_DIR}/SocketWConfig.cmake
+ ${CMAKE_BINARY_DIR}/SocketWConfigVersion.cmake
+ DESTINATION ${CMAKEFILES_INSTALL_DIR}
+-)
+\ No newline at end of file
++)