pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/wxmathplot
Module Name: pkgsrc
Committed By: wiz
Date: Tue Aug 19 14:08:44 UTC 2025
Modified Files:
pkgsrc/math/wxmathplot: Makefile distinfo
Added Files:
pkgsrc/math/wxmathplot/patches: patch-samples_sample1_CMakeLists.txt
patch-samples_sample2_CMakeLists.txt
patch-samples_sample3_CMakeLists.txt
Log Message:
wxmathplot: fix build with cmake 4
Convert to cmake/build.mk
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/math/wxmathplot/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/math/wxmathplot/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/math/wxmathplot/patches/patch-samples_sample1_CMakeLists.txt \
pkgsrc/math/wxmathplot/patches/patch-samples_sample2_CMakeLists.txt \
pkgsrc/math/wxmathplot/patches/patch-samples_sample3_CMakeLists.txt
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/math/wxmathplot/Makefile
diff -u pkgsrc/math/wxmathplot/Makefile:1.16 pkgsrc/math/wxmathplot/Makefile:1.17
--- pkgsrc/math/wxmathplot/Makefile:1.16 Thu Apr 24 14:15:02 2025
+++ pkgsrc/math/wxmathplot/Makefile Tue Aug 19 14:08:44 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2025/04/24 14:15:02 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2025/08/19 14:08:44 wiz Exp $
DISTNAME= wxMathPlot_0.2.0
PKGNAME= wxmathplot-0.2.0
@@ -8,16 +8,17 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:
EXTRACT_SUFX= .zip
WRKSRC= ${WRKDIR}/mathplot
-
-MAINTAINER= bouyer%netbsd.org@localhost
+MAINTAINER= bouyer%NetBSD.org@localhost
HOMEPAGE= https://wxmathplot.sourceforge.io/
COMMENT= wxWidgets add-on for easy 2D plotting
# LGPLv2 with additional permission; http://opensource.org/licenses/wxwindows
LICENSE= gnu-lgpl-v2
-USE_CMAKE= yes
USE_LANGUAGES= c c++
+CMAKE_CONFIGURE_ARGS+= -DCMAKE_POLICY_VERSION_MINIMUM=3.5
+
+.include "../../devel/cmake/build.mk"
.include "../../x11/wxGTK30/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/math/wxmathplot/distinfo
diff -u pkgsrc/math/wxmathplot/distinfo:1.1 pkgsrc/math/wxmathplot/distinfo:1.2
--- pkgsrc/math/wxmathplot/distinfo:1.1 Wed Oct 11 13:32:37 2023
+++ pkgsrc/math/wxmathplot/distinfo Tue Aug 19 14:08:44 2025
@@ -1,6 +1,9 @@
-$NetBSD: distinfo,v 1.1 2023/10/11 13:32:37 bouyer Exp $
+$NetBSD: distinfo,v 1.2 2025/08/19 14:08:44 wiz Exp $
BLAKE2s (wxMathPlot_0.2.0.zip) = c150370c0101333597e2ff1e7454ce3286d63741629c52113e1bd666de7633a9
SHA512 (wxMathPlot_0.2.0.zip) = eee818be09f1cb4c46bb66870168f56ca66f98ba0903568e16d93359e0ed59f9ec133f2e3930a2ecbec95b324a86278bafe2775f004703b7e527801e23aa1283
Size (wxMathPlot_0.2.0.zip) = 136814 bytes
SHA1 (patch-CMakeLists.txt) = 4dd7c962da8c702c36710c53debd52c00a794294
+SHA1 (patch-samples_sample1_CMakeLists.txt) = e11894d40456a3258096f69f38bd43b5b7bfd29e
+SHA1 (patch-samples_sample2_CMakeLists.txt) = c18829b4903da1abb4993cab07d2b33ca8140bbf
+SHA1 (patch-samples_sample3_CMakeLists.txt) = 21047e2789415d0860bfd8fdc0cb8d3158e2d1f0
Added files:
Index: pkgsrc/math/wxmathplot/patches/patch-samples_sample1_CMakeLists.txt
diff -u /dev/null pkgsrc/math/wxmathplot/patches/patch-samples_sample1_CMakeLists.txt:1.1
--- /dev/null Tue Aug 19 14:08:44 2025
+++ pkgsrc/math/wxmathplot/patches/patch-samples_sample1_CMakeLists.txt Tue Aug 19 14:08:44 2025
@@ -0,0 +1,16 @@
+$NetBSD: patch-samples_sample1_CMakeLists.txt,v 1.1 2025/08/19 14:08:44 wiz Exp $
+
+Fix build with cmake 4.
+
+--- samples/sample1/CMakeLists.txt.orig 2025-08-19 14:05:25.856002734 +0000
++++ samples/sample1/CMakeLists.txt
+@@ -6,9 +6,6 @@
+
+ # Set CMake flags to enable compatibility both with 2.4 and 2.6
+ cmake_minimum_required(VERSION 2.4)
+-if(COMMAND cmake_policy)
+- cmake_policy(SET CMP0003 OLD)
+-endif(COMMAND cmake_policy)
+
+ SET(wxWidgets_USE_LIBS base core)
+ find_package(wxWidgets)
Index: pkgsrc/math/wxmathplot/patches/patch-samples_sample2_CMakeLists.txt
diff -u /dev/null pkgsrc/math/wxmathplot/patches/patch-samples_sample2_CMakeLists.txt:1.1
--- /dev/null Tue Aug 19 14:08:44 2025
+++ pkgsrc/math/wxmathplot/patches/patch-samples_sample2_CMakeLists.txt Tue Aug 19 14:08:44 2025
@@ -0,0 +1,16 @@
+$NetBSD: patch-samples_sample2_CMakeLists.txt,v 1.1 2025/08/19 14:08:44 wiz Exp $
+
+Fix build with cmake 4.
+
+--- samples/sample2/CMakeLists.txt.orig 2025-08-19 14:05:30.811394041 +0000
++++ samples/sample2/CMakeLists.txt
+@@ -6,9 +6,6 @@
+
+ # Set CMake flags to enable compatibility both with 2.4 and 2.6
+ cmake_minimum_required(VERSION 2.4)
+-if(COMMAND cmake_policy)
+- cmake_policy(SET CMP0003 OLD)
+-endif(COMMAND cmake_policy)
+
+ SET(wxWidgets_USE_LIBS base core)
+ find_package(wxWidgets)
Index: pkgsrc/math/wxmathplot/patches/patch-samples_sample3_CMakeLists.txt
diff -u /dev/null pkgsrc/math/wxmathplot/patches/patch-samples_sample3_CMakeLists.txt:1.1
--- /dev/null Tue Aug 19 14:08:44 2025
+++ pkgsrc/math/wxmathplot/patches/patch-samples_sample3_CMakeLists.txt Tue Aug 19 14:08:44 2025
@@ -0,0 +1,16 @@
+$NetBSD: patch-samples_sample3_CMakeLists.txt,v 1.1 2025/08/19 14:08:44 wiz Exp $
+
+Fix build with cmake 4.
+
+--- samples/sample3/CMakeLists.txt.orig 2025-08-19 14:05:04.784676054 +0000
++++ samples/sample3/CMakeLists.txt
+@@ -6,9 +6,6 @@
+
+ # Set CMake flags to enable compatibility both with 2.4 and 2.6
+ cmake_minimum_required(VERSION 2.4)
+-if(COMMAND cmake_policy)
+- cmake_policy(SET CMP0003 OLD)
+-endif(COMMAND cmake_policy)
+
+ SET(wxWidgets_USE_LIBS base core)
+ find_package(wxWidgets)
Home |
Main Index |
Thread Index |
Old Index