Source-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 detection of libstdc++



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3a5ee2898c95
branches:  trunk
changeset: 431011:3a5ee2898c95
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu May 07 20:21:41 2020 +0000

description:
lang/clang: fix detection of libstdc++

In the previous commit, I had missed a negation in the empty(...)
condition.

PKGREVISION++ to notify clang users of the fix.

https://mail-index.netbsd.org/pkgsrc-users/2020/05/07/msg031132.html

diffstat:

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

diffs (32 lines):

diff -r e5422e501f9d -r 3a5ee2898c95 lang/clang/Makefile
--- a/lang/clang/Makefile       Thu May 07 19:47:11 2020 +0000
+++ b/lang/clang/Makefile       Thu May 07 20:21:41 2020 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.54 2019/12/29 15:31:22 adam Exp $
+# $NetBSD: Makefile,v 1.55 2020/05/07 20:21:41 rillig Exp $
 
 .include "Makefile.common"
 
 PKGNAME=       ${DISTNAME:S/.src//}
+PKGREVISION=   1
 
 CMAKE_ARGS+=   -DCLANG_ENABLE_STATIC_ANALYZER=OFF
 
diff -r e5422e501f9d -r 3a5ee2898c95 lang/clang/Makefile.common
--- a/lang/clang/Makefile.common        Thu May 07 19:47:11 2020 +0000
+++ b/lang/clang/Makefile.common        Thu May 07 20:21:41 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.43 2020/04/26 10:19:26 rillig Exp $
+# $NetBSD: Makefile.common,v 1.44 2020/05/07 20:21:41 rillig Exp $
 # used by lang/clang/Makefile
 # used by lang/clang-static-analyzer/Makefile
 # used by lang/clang-tools-extra/Makefile
@@ -84,7 +84,7 @@
 .endif
 
 # patch NetBSD::GetCXXStdlibType
-.if ${OPSYS} == "NetBSD" && ${LIBCPP_CHECK} == YES
+.if ${OPSYS} == "NetBSD" && ${LIBCPP_CHECK} != YES
 SUBST_CLASSES+=                        libcxx
 SUBST_STAGE.libcxx=            pre-configure
 SUBST_MESSAGE.libcxx=          Patching toolchain to use libstdc++ (matching the host compiler)



Home | Main Index | Thread Index | Old Index