pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/clang lang/clang: fix nonexistent SUBST_FILES



details:   https://anonhg.NetBSD.org/pkgsrc/rev/153250f646cf
branches:  trunk
changeset: 425826:153250f646cf
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Mar 24 05:58:48 2020 +0000

description:
lang/clang: fix nonexistent SUBST_FILES

This restores the intended behavior of patching the NetBSD toolchain.

diffstat:

 lang/clang/Makefile.common |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 5956631df952 -r 153250f646cf lang/clang/Makefile.common
--- a/lang/clang/Makefile.common        Tue Mar 24 05:51:19 2020 +0000
+++ b/lang/clang/Makefile.common        Tue Mar 24 05:58:48 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.39 2020/01/26 17:31:27 rillig Exp $
+# $NetBSD: Makefile.common,v 1.40 2020/03/24 05:58:48 rillig Exp $
 # used by lang/clang/Makefile
 # used by lang/clang-static-analyzer/Makefile
 # used by lang/clang-tools-extra/Makefile
@@ -6,6 +6,7 @@
 .include "../../lang/llvm/version.mk"
 
 DISTNAME=      clang-${LLVM_VERSION}.src
+PKGREVISION=   1
 CATEGORIES=    lang devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -62,7 +63,6 @@
 REPLACE_PYTHON+=       utils/analyzer/SATestAdd.py
 REPLACE_PYTHON+=       utils/analyzer/SATestBuild.py
 REPLACE_PYTHON+=       utils/analyzer/SumTimerInfo.py
-REPLACE_PYTHON+=       utils/analyzer/ubiviz
 REPLACE_PYTHON+=       utils/check_cfc/check_cfc.py
 REPLACE_PYTHON+=       utils/check_cfc/obj_diff.py
 REPLACE_PYTHON+=       utils/check_cfc/test_check_cfc.py
@@ -82,8 +82,7 @@
 SUBST_CLASSES+=                        libcxx
 SUBST_STAGE.libcxx=            pre-configure
 SUBST_MESSAGE.libcxx=          Patching toolchain to use libstdc++ (matching the host compiler)
-SUBST_FILES.libcxx=            lib/Driver/ToolChains.cpp
-SUBST_FILES.libcxx+=           lib/Driver/Tools.cpp
+SUBST_FILES.libcxx=            lib/Driver/ToolChains/NetBSD.cpp
 SUBST_SED.libcxx=              -e 's,(Major >= 7 || Major == 0),(false),'
 
 CMAKE_ARGS+=                   -DCLANG_DEFAULT_CXX_STDLIB:STRING="libstdc++"



Home | Main Index | Thread Index | Old Index