summaryrefslogtreecommitdiff
path: root/geography
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2022-11-30 21:12:28 +0000
committergdt <gdt@pkgsrc.org>2022-11-30 21:12:28 +0000
commit75411804b6bf5f9838778b266d44144921e8ade6 (patch)
tree2f91fa3076ad0c0565b3a558c6392b4c2d8f354b /geography
parentbc789093f350746501d3ec91091f6cca7266e3d2 (diff)
downloadpkgsrc-75411804b6bf5f9838778b266d44144921e8ade6.tar.gz
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 (limited to 'geography')
-rw-r--r--geography/qgis/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/geography/qgis/Makefile b/geography/qgis/Makefile
index a0bd51364b7..5bc211623d5 100644
--- a/geography/qgis/Makefile
+++ b/geography/qgis/Makefile
@@ -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 @@ COMMENT= Geographic Information System (GIS)
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