git: e54335cd73de - main - graphics/osg: prepare for CMake4 (+)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 29 Sep 2026 14:29:24 UTC
The branch main has been updated by fluffy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e54335cd73de43c9ac7e62e72b6351d5575df420
commit e54335cd73de43c9ac7e62e72b6351d5575df420
Author: Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2026-09-29 14:28:27 +0000
Commit: Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2026-09-29 14:28:27 +0000
graphics/osg: prepare for CMake4 (+)
PR: 298945
---
graphics/osg/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/graphics/osg/Makefile b/graphics/osg/Makefile
index afdeeda4716c..9c30fd425419 100644
--- a/graphics/osg/Makefile
+++ b/graphics/osg/Makefile
@@ -148,6 +148,7 @@ post-patch:
@${FIND} ${WRKSRC}/CMakeModules -type f -print0 | ${XARGS} -0 \
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g'
@${REINPLACE_CMD} -e '/FIND_LIBRARY.*DL_LIBRARY/ d; \
+ /CMAKE_MINIMUM_REQUIRED/s,2.8.0 FATAL_ERROR,3.10,g; \
s|-pedantic||' ${WRKSRC}/CMakeLists.txt
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${PATCH_WRKSRC}/CMakeModules/FindFFmpeg.cmake