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: wiz
Date: Sat Aug 23 07:20:03 UTC 2025
Modified Files:
pkgsrc/graphics/opencv: Makefile
Log Message:
opencv: pass preferred Python interpreter to cmake
Fixes build when Python 2.x is installed.
Closes PR 59607 by Robert Whitlock.
To generate a diff of this commit:
cvs rdiff -u -r1.147 -r1.148 pkgsrc/graphics/opencv/Makefile
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.147 pkgsrc/graphics/opencv/Makefile:1.148
--- pkgsrc/graphics/opencv/Makefile:1.147 Sun Aug 10 10:38:56 2025
+++ pkgsrc/graphics/opencv/Makefile Sat Aug 23 07:20:03 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.147 2025/08/10 10:38:56 wiz Exp $
+# $NetBSD: Makefile,v 1.148 2025/08/23 07:20:03 wiz Exp $
PKGREVISION= 1
.include "Makefile.common"
@@ -13,6 +13,8 @@ REPLACE_PYTHON+= samples/python/*.py
PYTHON_VERSIONS_INCOMPATIBLE= 39 310
+CMAKE_CONFIGURE_ARGS+= -DPYTHON_EXECUTABLE=${PYTHONBIN}
+
.include "options.mk"
TEST_ENV+= LD_LIBRARY_PATH=${WRKSRC}/${CMAKE_BUILD_DIR}/lib
Home |
Main Index |
Thread Index |
Old Index