summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2020-07-02 10:45:38 +0000
committerwiz <wiz@pkgsrc.org>2020-07-02 10:45:38 +0000
commit6da5cb5617234e1c0c48ad5e3ae2ca01aa002bfd (patch)
treed3ebdd027d6aa2b7221b062fb438dbd5569f3743 /lang
parent9bd978fe2ea71ddd0f757e731261a828b1470644 (diff)
downloadpkgsrc-6da5cb5617234e1c0c48ad5e3ae2ca01aa002bfd.tar.gz
clang: update to 10.0.0nb4.
Make perl a run-time dependency to fix ERROR: [check-interpreter.mk] The interpreter "/usr/pkg/bin/perl" of "/usr/pkg/bin/scan-build" does not exist. ERROR: [check-interpreter.mk] The interpreter "/usr/pkg/bin/perl" of "/usr/pkg/libexec/c++-analyzer" does not exist. ERROR: [check-interpreter.mk] The interpreter "/usr/pkg/bin/perl" of "/usr/pkg/libexec/ccc-analyzer" does not exist.
Diffstat (limited to 'lang')
-rw-r--r--lang/clang/Makefile6
-rw-r--r--lang/clang/Makefile.common4
2 files changed, 6 insertions, 4 deletions
diff --git a/lang/clang/Makefile b/lang/clang/Makefile
index bf757be4cf8..a413dd2845e 100644
--- a/lang/clang/Makefile
+++ b/lang/clang/Makefile
@@ -1,12 +1,14 @@
-# $NetBSD: Makefile,v 1.57 2020/07/01 14:46:37 adam Exp $
+# $NetBSD: Makefile,v 1.58 2020/07/02 10:45:38 wiz Exp $
.include "Makefile.common"
PKGNAME= ${DISTNAME:S/.src//}
-PKGREVISION= 3
+PKGREVISION= 4
PYTHON_FOR_BUILD_ONLY= yes
+USE_TOOLS+= perl:run
+
# There are some contrib utilities written in python here.
# We don't want to add a python runtime dependency for that.
CHECK_INTERPRETER_SKIP+= share/clang/*
diff --git a/lang/clang/Makefile.common b/lang/clang/Makefile.common
index ef4f539f323..26240f08a72 100644
--- a/lang/clang/Makefile.common
+++ b/lang/clang/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.45 2020/07/01 14:46:37 adam Exp $
+# $NetBSD: Makefile.common,v 1.46 2020/07/02 10:45:38 wiz Exp $
# used by lang/clang/Makefile
# used by lang/clang-tools-extra/Makefile
@@ -68,7 +68,7 @@ REPLACE_PYTHON+= www/builtins.py
.if ${OPSYS} == "NetBSD" && ${PKGSRC_COMPILER:Mclang}
# command to check if clang is using libc++ or libstdc++
-LIBCPP_CHECK!= \
+LIBCPP_CHECK!= \
printf '%s\n' \
'\#include <ciso646>' \
'\#ifdef _LIBCPP_VERSION' \