pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/clang



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Jan 25 16:45:40 UTC 2023

Modified Files:
        pkgsrc/lang/clang: Makefile.common

Log Message:
clang: revert previous

causes weird breakage in clang-tools-extra


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 pkgsrc/lang/clang/Makefile.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/clang/Makefile.common
diff -u pkgsrc/lang/clang/Makefile.common:1.53 pkgsrc/lang/clang/Makefile.common:1.54
--- pkgsrc/lang/clang/Makefile.common:1.53      Tue Jan 24 18:36:28 2023
+++ pkgsrc/lang/clang/Makefile.common   Wed Jan 25 16:45:40 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.53 2023/01/24 18:36:28 wiz Exp $
+# $NetBSD: Makefile.common,v 1.54 2023/01/25 16:45:40 wiz Exp $
 # used by lang/clang/Makefile
 # used by lang/clang-tools-extra/Makefile
 
@@ -12,7 +12,11 @@ HOMEPAGE=    https://clang.llvm.org/
 COMMENT=       C language family frontend for LLVM
 LICENSE=       apache-2.0
 
+CONFIGURE_DIRS=                build
+CMAKE_ARG_PATH=                ${WRKSRC}
+
 USE_LANGUAGES=         c c++14
+USE_CMAKE=             yes
 GCC_REQD+=             7
 
 CMAKE_ARGS+=   -DLLVM_CONFIG=${LLVM_CONFIG_PATH:Q}
@@ -110,7 +114,6 @@ LIBCPP_CHECK=       NO
 CMAKE_ARGS+=                   -DCLANG_DEFAULT_CXX_STDLIB:STRING="libstdc++"
 .endif
 
-.include "../../devel/cmake/build.mk"
 # Enable full LLVM suite on SunOS
 .if ${OPSYS} == "SunOS"
 .include "../../lang/compiler-rt/buildlink3.mk"
@@ -160,6 +163,9 @@ PKG_FAIL_REASON+=   "z3 PKG_OPTION must be
 CMAKE_ARGS+=           -DLLVM_ENABLE_Z3_SOLVER=ON
 .endif
 
+post-extract:
+       ${MKDIR} ${WRKSRC}/build
+
 .include "../../textproc/libxml2/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../lang/python/application.mk"



Home | Main Index | Thread Index | Old Index