pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/gl2ps



Module Name:    pkgsrc
Committed By:   gdt
Date:           Fri Aug 15 23:12:31 UTC 2025

Modified Files:
        pkgsrc/graphics/gl2ps: Makefile distinfo
Added Files:
        pkgsrc/graphics/gl2ps/patches: patch-CMakeLists.txt

Log Message:
graphic/gl2ps: Kludge for cmake 4, and convert to cmake/build.mk


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/graphics/gl2ps/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/graphics/gl2ps/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/gl2ps/patches/patch-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/graphics/gl2ps/Makefile
diff -u pkgsrc/graphics/gl2ps/Makefile:1.5 pkgsrc/graphics/gl2ps/Makefile:1.6
--- pkgsrc/graphics/gl2ps/Makefile:1.5  Thu Aug 11 05:08:41 2022
+++ pkgsrc/graphics/gl2ps/Makefile      Fri Aug 15 23:12:30 2025
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2022/08/11 05:08:41 gutteridge Exp $
+# $NetBSD: Makefile,v 1.6 2025/08/15 23:12:30 gdt Exp $
 
 DISTNAME=      gl2ps-1.4.2
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    graphics
 MASTER_SITES=  https://geuz.org/gl2ps/src/
 EXTRACT_SUFX=  .tgz
@@ -11,10 +11,11 @@ HOMEPAGE=   https://geuz.org/gl2ps/
 COMMENT=       OpenGL to PostScript printing library
 LICENSE=       gnu-lgpl-v2
 
-USE_CMAKE=     yes
 
 DEPENDS+=      tex-latex-bin-[0-9]*:../../print/tex-latex-bin
 
+.include "../../devel/cmake/build.mk"
+
 .include "../../mk/bsd.prefs.mk"
 .if ${OPSYS} != "Darwin"
 .include "../../graphics/MesaLib/buildlink3.mk"

Index: pkgsrc/graphics/gl2ps/distinfo
diff -u pkgsrc/graphics/gl2ps/distinfo:1.3 pkgsrc/graphics/gl2ps/distinfo:1.4
--- pkgsrc/graphics/gl2ps/distinfo:1.3  Tue Oct 26 10:46:12 2021
+++ pkgsrc/graphics/gl2ps/distinfo      Fri Aug 15 23:12:30 2025
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 10:46:12 nia Exp $
+$NetBSD: distinfo,v 1.4 2025/08/15 23:12:30 gdt Exp $
 
 BLAKE2s (gl2ps-1.4.2.tgz) = 56d2798f284f5ebf978204e957d5dd5b12e6c62f291ecbc4daf0098d9d01f206
 SHA512 (gl2ps-1.4.2.tgz) = 46652e1b3825ace61dbd77c4b0bf451e7671c248eb18bbd3369e2fac00056ea4cd5d2578561984313c239e3b02f78b9d9a76d963c935af65a13bc2abfc538620
 Size (gl2ps-1.4.2.tgz) = 301134 bytes
+SHA1 (patch-CMakeLists.txt) = c44385c6ca8b429cf3ae4a56538914a08e60f232

Added files:

Index: pkgsrc/graphics/gl2ps/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/graphics/gl2ps/patches/patch-CMakeLists.txt:1.1
--- /dev/null   Fri Aug 15 23:12:31 2025
+++ pkgsrc/graphics/gl2ps/patches/patch-CMakeLists.txt  Fri Aug 15 23:12:31 2025
@@ -0,0 +1,16 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2025/08/15 23:12:31 gdt Exp $
+
+Kludge around cmake requirement that the minimum version be high
+enough.
+       
+--- CMakeLists.txt.orig        2025-08-15 23:08:20.897300798 +0000
++++ CMakeLists.txt
+@@ -31,7 +31,7 @@
+ #
+ #  Please report all bugs and problems to <gl2ps%geuz.org@localhost>.
+ 
+-cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
++cmake_minimum_required(VERSION 3.22 FATAL_ERROR)
+ 
+ # do not warn about non-definition of WIN32 on Cygwin
+ set(CMAKE_LEGACY_CYGWIN_WIN32 0)



Home | Main Index | Thread Index | Old Index