pkgsrc-Changes archive

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

CVS commit: pkgsrc/print/qpdf



Module Name:    pkgsrc
Committed By:   gdt
Date:           Tue Mar 31 11:26:39 UTC 2026

Modified Files:
        pkgsrc/print/qpdf: Makefile

Log Message:
print/qpdf: Drop confusing comment about NetBSD 9 build failure

  - Sort USE_LANGUAGES and USE_CXX_FEATURES properly.

  - Failing to build on NetBSD 9 with USE_CXX_FEATURES=c++17 was a
    pkgsrc bug, not a problem in qpdf or NetBSD 9.  Upstream documents
    that c++20 is required, and now our Makefile says that.  The
    comment is (now) confusing; we generally just translate upstream
    documented requirements to pkgsrc variables and leave it at that.


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 pkgsrc/print/qpdf/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/print/qpdf/Makefile
diff -u pkgsrc/print/qpdf/Makefile:1.69 pkgsrc/print/qpdf/Makefile:1.70
--- pkgsrc/print/qpdf/Makefile:1.69     Tue Feb 10 13:39:36 2026
+++ pkgsrc/print/qpdf/Makefile  Tue Mar 31 11:26:38 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.69 2026/02/10 13:39:36 mef Exp $
+# $NetBSD: Makefile,v 1.70 2026/03/31 11:26:38 gdt Exp $
 
 DISTNAME=      qpdf-12.3.2
 CATEGORIES=    print
@@ -9,14 +9,8 @@ HOMEPAGE=      https://qpdf.sourceforge.io/
 COMMENT=       Structural, content-preserving transformations on PDF files
 LICENSE=       apache-2.0
 
-# fix build on NetBSD/9.4
-# -- Performing Test ATOMIC_WORKED0
-# CMake Error in /tmp/print/qpdf/work/qpdf-12.3.2/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-g61khV/CMakeLists.txt:
-#   Target "cmTC_f6cd8" requires the language dialect "CXX20" .  But the
-#   current compiler "GNU" does not support this, or CMake does not know the
-
-USE_CXX_FEATURES+=     c++20
 USE_LANGUAGES=         c c++
+USE_CXX_FEATURES+=     c++20
 USE_TOOLS+=            perl:test pkg-config
 PKGCONFIG_OVERRIDE+=   libqpdf.pc.in
 TEST_TARGET=           test



Home | Main Index | Thread Index | Old Index