pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/opencv
Module Name: pkgsrc
Committed By: adam
Date: Thu Sep 25 10:32:36 UTC 2025
Modified Files:
pkgsrc/graphics/opencv: Makefile
Added Files:
pkgsrc/graphics/opencv/patches: patch-modules_core_src_system.cpp
Log Message:
opencv: fix PLIST on Darwin; do not include config as it may contain workdir references
To generate a diff of this commit:
cvs rdiff -u -r1.151 -r1.152 pkgsrc/graphics/opencv/Makefile
cvs rdiff -u -r0 -r1.3 \
pkgsrc/graphics/opencv/patches/patch-modules_core_src_system.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/opencv/Makefile
diff -u pkgsrc/graphics/opencv/Makefile:1.151 pkgsrc/graphics/opencv/Makefile:1.152
--- pkgsrc/graphics/opencv/Makefile:1.151 Sun Sep 21 15:11:39 2025
+++ pkgsrc/graphics/opencv/Makefile Thu Sep 25 10:32:36 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.151 2025/09/21 15:11:39 wiz Exp $
+# $NetBSD: Makefile,v 1.152 2025/09/25 10:32:36 adam Exp $
PKGREVISION= 4
.include "Makefile.common"
@@ -15,6 +15,13 @@ PYTHON_VERSIONS_INCOMPATIBLE= 39 310
CMAKE_CONFIGURE_ARGS+= -DPYTHON_EXECUTABLE=${PYTHONBIN}
+PLIST_VARS+= opencl
+
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} != "Darwin"
+PLIST.opencl= yes
+.endif
+
.include "options.mk"
TEST_ENV+= LD_LIBRARY_PATH=${WRKSRC}/${CMAKE_BUILD_DIR}/lib
Added files:
Index: pkgsrc/graphics/opencv/patches/patch-modules_core_src_system.cpp
diff -u /dev/null pkgsrc/graphics/opencv/patches/patch-modules_core_src_system.cpp:1.3
--- /dev/null Thu Sep 25 10:32:36 2025
+++ pkgsrc/graphics/opencv/patches/patch-modules_core_src_system.cpp Thu Sep 25 10:32:36 2025
@@ -0,0 +1,17 @@
+$NetBSD: patch-modules_core_src_system.cpp,v 1.3 2025/09/25 10:32:36 adam Exp $
+
+Avoid including all from configure as it contains references to work dir.
+
+--- modules/core/src/system.cpp.orig 2025-04-22 09:32:49.970273357 +0000
++++ modules/core/src/system.cpp
+@@ -1030,9 +1030,7 @@ int64 getTimestampNS()
+
+ const String& getBuildInformation()
+ {
+- static String build_info =
+-#include "version_string.inc"
+- ;
++ static String build_info = "PkgSrc";
+ return build_info;
+ }
+
Home |
Main Index |
Thread Index |
Old Index