pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/geography/qgis geography/qgis: Require C++17 and re-do...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ee041e4c24f6
branches:  trunk
changeset: 389150:ee041e4c24f6
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Wed Nov 30 21:12:28 2022 +0000

description:
geography/qgis: Require C++17 and re-do gmake explanation

C++17 is clearly required, from reading qgis's cmake files.

Upstream qestioned that gmake is required, so document the failures
with BSD make.

diffstat:

 geography/qgis/Makefile |  15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diffs (32 lines):

diff -r 3b3857959597 -r ee041e4c24f6 geography/qgis/Makefile
--- a/geography/qgis/Makefile   Wed Nov 30 21:00:19 2022 +0000
+++ b/geography/qgis/Makefile   Wed Nov 30 21:12:28 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.159 2022/11/28 14:25:31 gdt Exp $
+# $NetBSD: Makefile,v 1.160 2022/11/30 21:12:28 gdt Exp $
 
 # This is intentionally 3.28 Long Term Release.  Please do not update
 # to later branches, and instead discuss whether/how we want multiple
@@ -16,16 +16,15 @@
 LICENSE=       gnu-gpl-v2
 
 USE_CMAKE=             yes
-USE_LANGUAGES=         c c++11 fortran77
+USE_LANGUAGES=         c c++17 fortran77
 USE_LIBTOOL=           yes
 USE_PKGLOCALEDIR=      yes
 USE_TOOLS+=            cmake bison flex perl pkg-config
-# Due to gmake spaces in filenames, we must use gmake.  An example is
-# "resources/function_help/json/Date and Time".
-# Further, gmake expects files that contain a $ such as "$area" to
-# appear, unsurprisingly, as "$$area" on the RHS of dependency rules.
-# NetBSD make, expects "$$$$area".  While cmake 3.17 produced
-# "$$area", cmake 3.18 produces "$$$$area", perhaps only on NetBSD.
+# Building 3.28.1 fails with BSD make.  One issue seem to be a
+# difference of opinion about quoting of $, with gmake wanting
+# "$$area" vs bmake perhaps wanting "$$$$area".  Another is filenames
+# with spaces, which are \-quoted in Makefiles, but bmake sees them as
+# separate files.
 USE_TOOLS+=            gmake
 
 PLIST_SRC=             PLIST



Home | Main Index | Thread Index | Old Index