diff options
author | rillig <rillig@pkgsrc.org> | 2020-05-07 20:21:41 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2020-05-07 20:21:41 +0000 |
commit | b6fc61f9db7c4d143bee8f99f8bae34f9f2aad68 (patch) | |
tree | 57e1ecab98ebb8b2729297fcaa486229fa604a36 /lang/clang | |
parent | e1cceba2b584e872e23dcf12e259c4299fe799f4 (diff) | |
download | pkgsrc-b6fc61f9db7c4d143bee8f99f8bae34f9f2aad68.tar.gz |
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 (limited to 'lang/clang')
-rw-r--r-- | lang/clang/Makefile | 3 | ||||
-rw-r--r-- | lang/clang/Makefile.common | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/lang/clang/Makefile b/lang/clang/Makefile index a8403be1b90..d14f2f39ace 100644 --- a/lang/clang/Makefile +++ b/lang/clang/Makefile @@ -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 --git a/lang/clang/Makefile.common b/lang/clang/Makefile.common index 4fa8a33f78d..d638a41d35f 100644 --- a/lang/clang/Makefile.common +++ b/lang/clang/Makefile.common @@ -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 @@ LIBCPP_CHECK= NO .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) |