summaryrefslogtreecommitdiff
path: root/geography
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2020-06-16 21:54:24 +0000
committergdt <gdt@pkgsrc.org>2020-06-16 21:54:24 +0000
commit7615c76815d977fec38b3df75c0dd27f26ddefe7 (patch)
treec83f39b03a4b9d34e45b623f629fbb7848ce632c /geography
parent199333f6080b5265391b14429e7b7b269eb4eb3b (diff)
downloadpkgsrc-7615c76815d977fec38b3df75c0dd27f26ddefe7.tar.gz
geography/qgis: Allow SUBST NOOP
(This is the usual pattern of finding files of a certain type where the subst only happens in some of them.)
Diffstat (limited to 'geography')
-rw-r--r--geography/qgis/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/geography/qgis/Makefile b/geography/qgis/Makefile
index 6b736a3f823..f1f98425554 100644
--- a/geography/qgis/Makefile
+++ b/geography/qgis/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.91 2020/06/12 17:50:39 rillig Exp $
+# $NetBSD: Makefile,v 1.92 2020/06/16 21:54:24 gdt Exp $
DISTNAME= qgis-3.8.3
PKGREVISION= 10
@@ -38,6 +38,8 @@ SUBST_MESSAGE.xapple= Disabling APPLE App in cmake scripts
xapple_FIND_CMD= cd ${WRKSRC} && \
find . -name '*.cmake' -o -name CMakeLists.txt
SUBST_FILES.xapple= ${xapple_FIND_CMD:sh}
+# The output of find is a superset of the needed files.
+SUBST_NOOP_OK.xapple= yes
SUBST_SED.xapple+= -e 's,APPLE,XAPPLE,'
SUBST_SED.xapple+= -e 's,MACOSX_BUNDLE ,,'
SUBST_NOOP_OK.xapple= yes # since SUBST_FILES is generated