pkgsrc-WIP-changes archive

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

Import clang-4.0.0nb20161216 as wip/clang-git-netbsd.



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Fri Dec 16 19:39:20 2016 +0100
Changeset:	98210e97b7854a76acaa1c4a08aca1228f08a4a4

Added Files:
	clang-git-netbsd/DESCR
	clang-git-netbsd/Makefile
	clang-git-netbsd/Makefile.common
	clang-git-netbsd/PLIST
	clang-git-netbsd/TODO
	clang-git-netbsd/buildlink3.mk
	clang-git-netbsd/distinfo
	clang-git-netbsd/patches/patch-tools_clang-format_CMakeLists.txt

Log Message:
Import clang-4.0.0nb20161216 as wip/clang-git-netbsd.

Low Level Virtual Machine (LLVM) is:

A compilation strategy designed to enable effective program optimization across
the entire lifetime of a program. LLVM supports effective optimization at
compile time, link-time (particularly interprocedural), run-time and offline
(i.e., after software is installed), while remaining transparent to developers
and maintaining compatibility with existing build scripts.

A virtual instruction set - LLVM is a low-level object code representation that
uses simple RISC-like instructions, but provides rich, language-independent,
type information and dataflow (SSA) information about operands. This combination
enables sophisticated transformations on object code, while remaining
light-weight enough to be attached to the executable. This combination is key to
allowing link-time, run-time, and offline transformations.

A compiler infrastructure - LLVM is also a collection of source code that
implements the language and compilation strategy. The primary components of the
LLVM infrastructure are a GCC-based C & C++ front-end, a link-time optimization
framework with a growing set of global and interprocedural analyses and
transformations, static back-ends for the X86, X86-64, PowerPC 32/64, ARM,
Thumb, IA-64, Alpha and SPARC architectures, a back-end which emits portable C
code, and a Just-In-Time compiler for X86, X86-64, PowerPC 32/64 processors.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=98210e97b7854a76acaa1c4a08aca1228f08a4a4

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

diffstat:
 clang-git-netbsd/DESCR                             |  22 +
 clang-git-netbsd/Makefile                          |  17 +
 clang-git-netbsd/Makefile.common                   | 126 +++++
 clang-git-netbsd/PLIST                             | 600 +++++++++++++++++++++
 clang-git-netbsd/TODO                              |   5 +
 clang-git-netbsd/buildlink3.mk                     |  16 +
 clang-git-netbsd/distinfo                          |  15 +
 .../patch-tools_clang-format_CMakeLists.txt        |  16 +
 8 files changed, 817 insertions(+)

diffs:
diff --git a/clang-git-netbsd/DESCR b/clang-git-netbsd/DESCR
new file mode 100644
index 0000000..9bf02c2
--- /dev/null
+++ b/clang-git-netbsd/DESCR
@@ -0,0 +1,22 @@
+Low Level Virtual Machine (LLVM) is:
+
+A compilation strategy designed to enable effective program optimization across
+the entire lifetime of a program. LLVM supports effective optimization at
+compile time, link-time (particularly interprocedural), run-time and offline
+(i.e., after software is installed), while remaining transparent to developers
+and maintaining compatibility with existing build scripts.
+
+A virtual instruction set - LLVM is a low-level object code representation that
+uses simple RISC-like instructions, but provides rich, language-independent,
+type information and dataflow (SSA) information about operands. This combination
+enables sophisticated transformations on object code, while remaining
+light-weight enough to be attached to the executable. This combination is key to
+allowing link-time, run-time, and offline transformations.
+
+A compiler infrastructure - LLVM is also a collection of source code that
+implements the language and compilation strategy. The primary components of the
+LLVM infrastructure are a GCC-based C & C++ front-end, a link-time optimization
+framework with a growing set of global and interprocedural analyses and
+transformations, static back-ends for the X86, X86-64, PowerPC 32/64, ARM,
+Thumb, IA-64, Alpha and SPARC architectures, a back-end which emits portable C
+code, and a Just-In-Time compiler for X86, X86-64, PowerPC 32/64 processors.
diff --git a/clang-git-netbsd/Makefile b/clang-git-netbsd/Makefile
new file mode 100644
index 0000000..151965a
--- /dev/null
+++ b/clang-git-netbsd/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD$
+
+PKGNAME=	clang-4.0.0
+PYTHON_FOR_BUILD_ONLY=	yes
+
+CMAKE_ARGS+=	-DCLANG_ENABLE_STATIC_ANALYZER=OFF
+
+# 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/*
+
+.PHONY: install-clang-cpp
+post-install: install-clang-cpp
+install-clang-cpp:
+	${LN} -fs clang ${DESTDIR}${PREFIX}/bin/clang-cpp
+
+.include "../../wip/clang-git/Makefile.common"
diff --git a/clang-git-netbsd/Makefile.common b/clang-git-netbsd/Makefile.common
new file mode 100644
index 0000000..786d9e3
--- /dev/null
+++ b/clang-git-netbsd/Makefile.common
@@ -0,0 +1,126 @@
+# $NetBSD$
+# used by wip/clang-git/Makefile
+# used by wip/clang-static-analyzer-git/Makefile
+
+CATEGORIES=	lang devel
+
+GIT_REPOSITORIES=	clang
+GIT_REPO.clang=		git://github.com/llvm-mirror/clang.git
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://clang.llvm.org/
+COMMENT=	C language family frontend for LLVM
+LICENSE=	modified-bsd
+
+DISTINFO_FILE=		${.CURDIR}/../../wip/clang-git/distinfo
+PATCHDIR=		${.CURDIR}/../../wip/clang-git/patches
+WRKSRC=			${WRKDIR}/clang
+CONFIGURE_DIRS=		${WRKDIR}/build
+CMAKE_ARG_PATH=		${WRKSRC}
+
+USE_LANGUAGES=		c c++
+USE_CMAKE=		yes
+GCC_REQD+=		4.8
+
+CMAKE_ARGS+=	-DLLVM_CONFIG=${LLVM_CONFIG_PATH}
+CMAKE_ARGS+=	-DCMAKE_BUILD_TYPE=Release
+CMAKE_ARGS+=	-DCMAKE_C_COMPILER=gcc
+CMAKE_ARGS+=	-DCMAKE_CXX_COMPILER=g++
+# XXX can't disable static-analyzer without also disabling ARCMT
+CMAKE_ARGS+=	-DCLANG_ENABLE_ARCMT=OFF
+
+REPLACE_PERL+=		test/make_test_dirs.pl
+REPLACE_PERL+=		tools/scan-build/bin/scan-build
+REPLACE_PERL+=		tools/scan-build/libexec/c++-analyzer
+REPLACE_PERL+=		tools/scan-build/libexec/ccc-analyzer
+REPLACE_PERL+=		utils/TestUtils/pch-test.pl
+REPLACE_PERL+=		utils/analyzer/reducer.pl
+REPLACE_PERL+=		utils/analyzer/update_plist_test.pl
+REPLACE_PERL+=		www/demo/index.cgi
+
+REPLACE_PYTHON+=	bindings/python/examples/cindex/cindex-dump.py
+REPLACE_PYTHON+=	bindings/python/examples/cindex/cindex-includes.py
+REPLACE_PYTHON+=	docs/tools/dump_ast_matchers.py
+REPLACE_PYTHON+=	docs/tools/dump_format_style.py
+REPLACE_PYTHON+=	tools/clang-format/clang-format-diff.py
+REPLACE_PYTHON+=	tools/clang-format/git-clang-format
+REPLACE_PYTHON+=	tools/scan-build/bin/set-xcode-analyzer
+REPLACE_PYTHON+=	tools/scan-view/bin/scan-view
+REPLACE_PYTHON+=	utils/ABITest/ABITestGen.py
+REPLACE_PYTHON+=	utils/CIndex/completion_logger_server.py
+REPLACE_PYTHON+=	utils/CaptureCmd
+REPLACE_PYTHON+=	utils/CmpDriver
+REPLACE_PYTHON+=	utils/FindSpecRefs
+REPLACE_PYTHON+=	utils/FuzzTest
+REPLACE_PYTHON+=	utils/TestUtils/deep-stack.py
+REPLACE_PYTHON+=	utils/analyzer/CmpRuns.py
+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
+REPLACE_PYTHON+=	utils/token-delta.py
+REPLACE_PYTHON+=	www/builtins.py
+
+.include "../../mk/compiler.mk"
+
+.if ${OPSYS} == "NetBSD" && !empty(PKGSRC_COMPILER:Mclang)
+# command to check if clang is using libc++ or libstdc++
+LIBCPP_CHECK_SH=	printf "\#include <ciso646>\n\#ifdef _LIBCPP_VERSION\nYES\n\#endif" | ${CLANGBASE}/bin/clang++ -x c++ -E - 2>&1 | grep YES || true
+.else
+LIBCPP_CHECK_SH=	echo NO
+.endif
+
+# patch NetBSD::GetCXXStdlibType
+.if ${OPSYS} == "NetBSD" && empty(LIBCPP_CHECK_SH:sh:MYES)
+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_SED.libcxx=		-e 's,(Major >= 7 || Major == 0),(false),'
+
+CMAKE_ARGS+=			-DCLANG_DEFAULT_CXX_STDLIB:STRING="libstdc++"
+.endif
+
+# 3.8.0 -> 3.8
+LLVM_MAJOR=	${PKGVERSION_NOREV:C/^([0-9]+\.[0-9]+)\..*$/\1/}
+PLIST_SUBST+=	LLVM_MAJOR=${LLVM_MAJOR}
+
+PLIST_VARS+=	notdylib
+.if ${_OPSYS_SHLIB_TYPE} == "dylib"
+SOEXT=		dylib
+.else
+SOEXT=		so
+PLIST.notdylib=	yes
+.endif
+PLIST_SUBST+=	SOEXT=${SOEXT}
+
+PKG_OPTIONS_VAR=	PKG_OPTIONS.clang
+PKG_SUPPORTED_OPTIONS=	tests
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mtests)
+CMAKE_ARGS+=		-DLLVM_INCLUDE_TESTS=ON
+CMAKE_ARGS+=		-DCLANG_INCLUDE_TESTS=ON
+TEST_TARGET=		clang-test
+TEST_ENV+=		LD_LIBRARY_PATH=${WRKDIR}/build/lib
+.include "../../devel/googletest/buildlink3.mk"
+.else
+CMAKE_ARGS+=		-DLLVM_INCLUDE_TESTS=OFF
+CMAKE_ARGS+=		-DCLANG_INCLUDE_TESTS=OFF
+.endif
+
+post-extract:
+	${RUN} mkdir -p ${WRKDIR}/build
+
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../wip/mk/git-package.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../lang/python/tool.mk"
+DEPENDS+=	llvm-${PKGVERSION_NOREV}{,nb*}:../../wip/llvm-git
+.include "../../wip/llvm-git/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/clang-git-netbsd/PLIST b/clang-git-netbsd/PLIST
new file mode 100644
index 0000000..1232564
--- /dev/null
+++ b/clang-git-netbsd/PLIST
@@ -0,0 +1,600 @@
+@comment $NetBSD$
+bin/c-index-test
+bin/clang
+bin/clang++
+bin/clang-${LLVM_MAJOR}
+bin/clang-cl
+bin/clang-cpp
+bin/clang-format
+bin/clang-offload-bundler
+include/clang-c/BuildSystem.h
+include/clang-c/CXCompilationDatabase.h
+include/clang-c/CXErrorCode.h
+include/clang-c/CXString.h
+include/clang-c/Documentation.h
+include/clang-c/Index.h
+include/clang-c/Platform.h
+include/clang/ARCMigrate/ARCMT.h
+include/clang/ARCMigrate/ARCMTActions.h
+include/clang/ARCMigrate/FileRemapper.h
+include/clang/AST/APValue.h
+include/clang/AST/AST.h
+include/clang/AST/ASTConsumer.h
+include/clang/AST/ASTContext.h
+include/clang/AST/ASTDiagnostic.h
+include/clang/AST/ASTFwd.h
+include/clang/AST/ASTImporter.h
+include/clang/AST/ASTLambda.h
+include/clang/AST/ASTMutationListener.h
+include/clang/AST/ASTTypeTraits.h
+include/clang/AST/ASTUnresolvedSet.h
+include/clang/AST/ASTVector.h
+include/clang/AST/Attr.h
+include/clang/AST/AttrDump.inc
+include/clang/AST/AttrImpl.inc
+include/clang/AST/AttrIterator.h
+include/clang/AST/AttrVisitor.inc
+include/clang/AST/Attrs.inc
+include/clang/AST/Availability.h
+include/clang/AST/BaseSubobject.h
+include/clang/AST/BuiltinTypes.def
+include/clang/AST/CXXInheritance.h
+include/clang/AST/CanonicalType.h
+include/clang/AST/CharUnits.h
+include/clang/AST/Comment.h
+include/clang/AST/CommentBriefParser.h
+include/clang/AST/CommentCommandInfo.inc
+include/clang/AST/CommentCommandList.inc
+include/clang/AST/CommentCommandTraits.h
+include/clang/AST/CommentDiagnostic.h
+include/clang/AST/CommentHTMLNamedCharacterReferences.inc
+include/clang/AST/CommentHTMLTags.inc
+include/clang/AST/CommentHTMLTagsProperties.inc
+include/clang/AST/CommentLexer.h
+include/clang/AST/CommentNodes.inc
+include/clang/AST/CommentParser.h
+include/clang/AST/CommentSema.h
+include/clang/AST/CommentVisitor.h
+include/clang/AST/Decl.h
+include/clang/AST/DeclAccessPair.h
+include/clang/AST/DeclBase.h
+include/clang/AST/DeclCXX.h
+include/clang/AST/DeclContextInternals.h
+include/clang/AST/DeclFriend.h
+include/clang/AST/DeclGroup.h
+include/clang/AST/DeclLookups.h
+include/clang/AST/DeclNodes.inc
+include/clang/AST/DeclObjC.h
+include/clang/AST/DeclOpenMP.h
+include/clang/AST/DeclTemplate.h
+include/clang/AST/DeclVisitor.h
+include/clang/AST/DeclarationName.h
+include/clang/AST/DependentDiagnostic.h
+include/clang/AST/EvaluatedExprVisitor.h
+include/clang/AST/Expr.h
+include/clang/AST/ExprCXX.h
+include/clang/AST/ExprObjC.h
+include/clang/AST/ExprOpenMP.h
+include/clang/AST/ExternalASTSource.h
+include/clang/AST/GlobalDecl.h
+include/clang/AST/LambdaCapture.h
+include/clang/AST/LocInfoType.h
+include/clang/AST/Mangle.h
+include/clang/AST/MangleNumberingContext.h
+include/clang/AST/NSAPI.h
+include/clang/AST/NestedNameSpecifier.h
+include/clang/AST/OpenMPClause.h
+include/clang/AST/OperationKinds.def
+include/clang/AST/OperationKinds.h
+include/clang/AST/ParentMap.h
+include/clang/AST/PrettyPrinter.h
+include/clang/AST/RawCommentList.h
+include/clang/AST/RecordLayout.h
+include/clang/AST/RecursiveASTVisitor.h
+include/clang/AST/Redeclarable.h
+include/clang/AST/SelectorLocationsKind.h
+include/clang/AST/Stmt.h
+include/clang/AST/StmtCXX.h
+include/clang/AST/StmtGraphTraits.h
+include/clang/AST/StmtIterator.h
+include/clang/AST/StmtNodes.inc
+include/clang/AST/StmtObjC.h
+include/clang/AST/StmtOpenMP.h
+include/clang/AST/StmtVisitor.h
+include/clang/AST/TemplateBase.h
+include/clang/AST/TemplateName.h
+include/clang/AST/Type.h
+include/clang/AST/TypeLoc.h
+include/clang/AST/TypeLocNodes.def
+include/clang/AST/TypeLocVisitor.h
+include/clang/AST/TypeNodes.def
+include/clang/AST/TypeOrdering.h
+include/clang/AST/TypeVisitor.h
+include/clang/AST/UnresolvedSet.h
+include/clang/AST/VTTBuilder.h
+include/clang/AST/VTableBuilder.h
+include/clang/ASTMatchers/ASTMatchFinder.h
+include/clang/ASTMatchers/ASTMatchers.h
+include/clang/ASTMatchers/ASTMatchersInternal.h
+include/clang/ASTMatchers/ASTMatchersMacros.h
+include/clang/ASTMatchers/Dynamic/Diagnostics.h
+include/clang/ASTMatchers/Dynamic/Parser.h
+include/clang/ASTMatchers/Dynamic/Registry.h
+include/clang/ASTMatchers/Dynamic/VariantValue.h
+include/clang/Analysis/Analyses/CFGReachabilityAnalysis.h
+include/clang/Analysis/Analyses/Consumed.h
+include/clang/Analysis/Analyses/Dominators.h
+include/clang/Analysis/Analyses/FormatString.h
+include/clang/Analysis/Analyses/LiveVariables.h
+include/clang/Analysis/Analyses/OSLog.h
+include/clang/Analysis/Analyses/PostOrderCFGView.h
+include/clang/Analysis/Analyses/PseudoConstantAnalysis.h
+include/clang/Analysis/Analyses/ReachableCode.h
+include/clang/Analysis/Analyses/ThreadSafety.h
+include/clang/Analysis/Analyses/ThreadSafetyCommon.h
+include/clang/Analysis/Analyses/ThreadSafetyLogical.h
+include/clang/Analysis/Analyses/ThreadSafetyOps.def
+include/clang/Analysis/Analyses/ThreadSafetyTIL.h
+include/clang/Analysis/Analyses/ThreadSafetyTraverse.h
+include/clang/Analysis/Analyses/ThreadSafetyUtil.h
+include/clang/Analysis/Analyses/UninitializedValues.h
+include/clang/Analysis/AnalysisContext.h
+include/clang/Analysis/AnalysisDiagnostic.h
+include/clang/Analysis/CFG.h
+include/clang/Analysis/CFGStmtMap.h
+include/clang/Analysis/CallGraph.h
+include/clang/Analysis/CloneDetection.h
+include/clang/Analysis/CodeInjector.h
+include/clang/Analysis/DomainSpecific/CocoaConventions.h
+include/clang/Analysis/DomainSpecific/ObjCNoReturn.h
+include/clang/Analysis/FlowSensitive/DataflowValues.h
+include/clang/Analysis/ProgramPoint.h
+include/clang/Analysis/Support/BumpVector.h
+include/clang/Basic/ABI.h
+include/clang/Basic/AddressSpaces.h
+include/clang/Basic/AllDiagnostics.h
+include/clang/Basic/AttrHasAttributeImpl.inc
+include/clang/Basic/AttrKinds.h
+include/clang/Basic/AttrList.inc
+include/clang/Basic/Attributes.h
+include/clang/Basic/Builtins.def
+include/clang/Basic/Builtins.h
+include/clang/Basic/BuiltinsAArch64.def
+include/clang/Basic/BuiltinsAMDGPU.def
+include/clang/Basic/BuiltinsARM.def
+include/clang/Basic/BuiltinsHexagon.def
+include/clang/Basic/BuiltinsLe64.def
+include/clang/Basic/BuiltinsMips.def
+include/clang/Basic/BuiltinsNEON.def
+include/clang/Basic/BuiltinsNVPTX.def
+include/clang/Basic/BuiltinsPPC.def
+include/clang/Basic/BuiltinsSystemZ.def
+include/clang/Basic/BuiltinsWebAssembly.def
+include/clang/Basic/BuiltinsX86.def
+include/clang/Basic/BuiltinsX86_64.def
+include/clang/Basic/BuiltinsXCore.def
+include/clang/Basic/CapturedStmt.h
+include/clang/Basic/CharInfo.h
+include/clang/Basic/CommentOptions.h
+include/clang/Basic/Cuda.h
+include/clang/Basic/DebugInfoOptions.h
+include/clang/Basic/Diagnostic.h
+include/clang/Basic/DiagnosticASTKinds.inc
+include/clang/Basic/DiagnosticAnalysisKinds.inc
+include/clang/Basic/DiagnosticCategories.h
+include/clang/Basic/DiagnosticCommentKinds.inc
+include/clang/Basic/DiagnosticCommonKinds.inc
+include/clang/Basic/DiagnosticDriverKinds.inc
+include/clang/Basic/DiagnosticFrontendKinds.inc
+include/clang/Basic/DiagnosticGroups.inc
+include/clang/Basic/DiagnosticIDs.h
+include/clang/Basic/DiagnosticIndexName.inc
+include/clang/Basic/DiagnosticLexKinds.inc
+include/clang/Basic/DiagnosticOptions.def
+include/clang/Basic/DiagnosticOptions.h
+include/clang/Basic/DiagnosticParseKinds.inc
+include/clang/Basic/DiagnosticSemaKinds.inc
+include/clang/Basic/DiagnosticSerializationKinds.inc
+include/clang/Basic/ExceptionSpecificationType.h
+include/clang/Basic/ExpressionTraits.h
+include/clang/Basic/FileManager.h
+include/clang/Basic/FileSystemOptions.h
+include/clang/Basic/FileSystemStatCache.h
+include/clang/Basic/IdentifierTable.h
+include/clang/Basic/LLVM.h
+include/clang/Basic/Lambda.h
+include/clang/Basic/LangOptions.def
+include/clang/Basic/LangOptions.h
+include/clang/Basic/Linkage.h
+include/clang/Basic/MacroBuilder.h
+include/clang/Basic/Module.h
+include/clang/Basic/ObjCRuntime.h
+include/clang/Basic/OpenCLExtensions.def
+include/clang/Basic/OpenCLImageTypes.def
+include/clang/Basic/OpenCLOptions.h
+include/clang/Basic/OpenMPKinds.def
+include/clang/Basic/OpenMPKinds.h
+include/clang/Basic/OperatorKinds.def
+include/clang/Basic/OperatorKinds.h
+include/clang/Basic/OperatorPrecedence.h
+include/clang/Basic/PartialDiagnostic.h
+include/clang/Basic/PlistSupport.h
+include/clang/Basic/PragmaKinds.h
+include/clang/Basic/PrettyStackTrace.h
+include/clang/Basic/SanitizerBlacklist.h
+include/clang/Basic/Sanitizers.def
+include/clang/Basic/Sanitizers.h
+include/clang/Basic/SourceLocation.h
+include/clang/Basic/SourceManager.h
+include/clang/Basic/SourceManagerInternals.h
+include/clang/Basic/Specifiers.h
+include/clang/Basic/TargetBuiltins.h
+include/clang/Basic/TargetCXXABI.h
+include/clang/Basic/TargetInfo.h
+include/clang/Basic/TargetOptions.h
+include/clang/Basic/TemplateKinds.h
+include/clang/Basic/TokenKinds.def
+include/clang/Basic/TokenKinds.h
+include/clang/Basic/TypeTraits.h
+include/clang/Basic/Version.h
+include/clang/Basic/Version.inc
+include/clang/Basic/VersionTuple.h
+include/clang/Basic/VirtualFileSystem.h
+include/clang/Basic/Visibility.h
+include/clang/Basic/arm_neon.inc
+include/clang/CodeGen/BackendUtil.h
+include/clang/CodeGen/CGFunctionInfo.h
+include/clang/CodeGen/CodeGenABITypes.h
+include/clang/CodeGen/CodeGenAction.h
+include/clang/CodeGen/ModuleBuilder.h
+include/clang/CodeGen/ObjectFilePCHContainerOperations.h
+include/clang/CodeGen/SwiftCallingConv.h
+include/clang/Config/config.h
+include/clang/Driver/Action.h
+include/clang/Driver/Compilation.h
+include/clang/Driver/Distro.h
+include/clang/Driver/Driver.h
+include/clang/Driver/DriverDiagnostic.h
+include/clang/Driver/Job.h
+include/clang/Driver/Multilib.h
+include/clang/Driver/Options.h
+include/clang/Driver/Options.inc
+include/clang/Driver/Phases.h
+include/clang/Driver/SanitizerArgs.h
+include/clang/Driver/Tool.h
+include/clang/Driver/ToolChain.h
+include/clang/Driver/Types.def
+include/clang/Driver/Types.h
+include/clang/Driver/Util.h
+include/clang/Edit/Commit.h
+include/clang/Edit/EditedSource.h
+include/clang/Edit/EditsReceiver.h
+include/clang/Edit/FileOffset.h
+include/clang/Edit/Rewriters.h
+include/clang/Format/Format.h
+include/clang/Frontend/ASTConsumers.h
+include/clang/Frontend/ASTUnit.h
+include/clang/Frontend/ChainedDiagnosticConsumer.h
+include/clang/Frontend/CodeGenOptions.def
+include/clang/Frontend/CodeGenOptions.h
+include/clang/Frontend/CommandLineSourceLoc.h
+include/clang/Frontend/CompilerInstance.h
+include/clang/Frontend/CompilerInvocation.h
+include/clang/Frontend/DependencyOutputOptions.h
+include/clang/Frontend/DiagnosticRenderer.h
+include/clang/Frontend/FrontendAction.h
+include/clang/Frontend/FrontendActions.h
+include/clang/Frontend/FrontendDiagnostic.h
+include/clang/Frontend/FrontendOptions.h
+include/clang/Frontend/FrontendPluginRegistry.h
+include/clang/Frontend/LangStandard.h
+include/clang/Frontend/LangStandards.def
+include/clang/Frontend/LayoutOverrideSource.h
+include/clang/Frontend/LogDiagnosticPrinter.h
+include/clang/Frontend/MigratorOptions.h
+include/clang/Frontend/MultiplexConsumer.h
+include/clang/Frontend/PCHContainerOperations.h
+include/clang/Frontend/PreprocessorOutputOptions.h
+include/clang/Frontend/SerializedDiagnosticPrinter.h
+include/clang/Frontend/SerializedDiagnosticReader.h
+include/clang/Frontend/SerializedDiagnostics.h
+include/clang/Frontend/TextDiagnostic.h
+include/clang/Frontend/TextDiagnosticBuffer.h
+include/clang/Frontend/TextDiagnosticPrinter.h
+include/clang/Frontend/Utils.h
+include/clang/Frontend/VerifyDiagnosticConsumer.h
+include/clang/FrontendTool/Utils.h
+include/clang/Index/CodegenNameGenerator.h
+include/clang/Index/CommentToXML.h
+include/clang/Index/IndexDataConsumer.h
+include/clang/Index/IndexSymbol.h
+include/clang/Index/IndexingAction.h
+include/clang/Index/USRGeneration.h
+include/clang/Lex/CodeCompletionHandler.h
+include/clang/Lex/DirectoryLookup.h
+include/clang/Lex/ExternalPreprocessorSource.h
+include/clang/Lex/HeaderMap.h
+include/clang/Lex/HeaderMapTypes.h
+include/clang/Lex/HeaderSearch.h
+include/clang/Lex/HeaderSearchOptions.h
+include/clang/Lex/LexDiagnostic.h
+include/clang/Lex/Lexer.h
+include/clang/Lex/LiteralSupport.h
+include/clang/Lex/MacroArgs.h
+include/clang/Lex/MacroInfo.h
+include/clang/Lex/ModuleLoader.h
+include/clang/Lex/ModuleMap.h
+include/clang/Lex/MultipleIncludeOpt.h
+include/clang/Lex/PPCallbacks.h
+include/clang/Lex/PPConditionalDirectiveRecord.h
+include/clang/Lex/PTHLexer.h
+include/clang/Lex/PTHManager.h
+include/clang/Lex/Pragma.h
+include/clang/Lex/PreprocessingRecord.h
+include/clang/Lex/Preprocessor.h
+include/clang/Lex/PreprocessorLexer.h
+include/clang/Lex/PreprocessorOptions.h
+include/clang/Lex/ScratchBuffer.h
+include/clang/Lex/Token.h
+include/clang/Lex/TokenConcatenation.h
+include/clang/Lex/TokenLexer.h
+include/clang/Parse/AttrParserStringSwitches.inc
+include/clang/Parse/ParseAST.h
+include/clang/Parse/ParseDiagnostic.h
+include/clang/Parse/Parser.h
+include/clang/Rewrite/Core/DeltaTree.h
+include/clang/Rewrite/Core/HTMLRewrite.h
+include/clang/Rewrite/Core/RewriteBuffer.h
+include/clang/Rewrite/Core/RewriteRope.h
+include/clang/Rewrite/Core/Rewriter.h
+include/clang/Rewrite/Core/TokenRewriter.h
+include/clang/Rewrite/Frontend/ASTConsumers.h
+include/clang/Rewrite/Frontend/FixItRewriter.h
+include/clang/Rewrite/Frontend/FrontendActions.h
+include/clang/Rewrite/Frontend/Rewriters.h
+include/clang/Sema/AnalysisBasedWarnings.h
+include/clang/Sema/AttrParsedAttrImpl.inc
+include/clang/Sema/AttrParsedAttrKinds.inc
+include/clang/Sema/AttrParsedAttrList.inc
+include/clang/Sema/AttrSpellingListIndex.inc
+include/clang/Sema/AttrTemplateInstantiate.inc
+include/clang/Sema/AttributeList.h
+include/clang/Sema/CXXFieldCollector.h
+include/clang/Sema/CleanupInfo.h
+include/clang/Sema/CodeCompleteConsumer.h
+include/clang/Sema/CodeCompleteOptions.h
+include/clang/Sema/DeclSpec.h
+include/clang/Sema/DelayedDiagnostic.h
+include/clang/Sema/Designator.h
+include/clang/Sema/ExternalSemaSource.h
+include/clang/Sema/IdentifierResolver.h
+include/clang/Sema/Initialization.h
+include/clang/Sema/Lookup.h
+include/clang/Sema/LoopHint.h
+include/clang/Sema/MultiplexExternalSemaSource.h
+include/clang/Sema/ObjCMethodList.h
+include/clang/Sema/Overload.h
+include/clang/Sema/Ownership.h
+include/clang/Sema/ParsedTemplate.h
+include/clang/Sema/PrettyDeclStackTrace.h
+include/clang/Sema/Scope.h
+include/clang/Sema/ScopeInfo.h
+include/clang/Sema/Sema.h
+include/clang/Sema/SemaConsumer.h
+include/clang/Sema/SemaDiagnostic.h
+include/clang/Sema/SemaFixItUtils.h
+include/clang/Sema/SemaInternal.h
+include/clang/Sema/SemaLambda.h
+include/clang/Sema/Template.h
+include/clang/Sema/TemplateDeduction.h
+include/clang/Sema/TypoCorrection.h
+include/clang/Sema/Weak.h
+include/clang/Serialization/ASTBitCodes.h
+include/clang/Serialization/ASTDeserializationListener.h
+include/clang/Serialization/ASTReader.h
+include/clang/Serialization/ASTWriter.h
+include/clang/Serialization/AttrPCHRead.inc
+include/clang/Serialization/AttrPCHWrite.inc
+include/clang/Serialization/ContinuousRangeMap.h
+include/clang/Serialization/GlobalModuleIndex.h
+include/clang/Serialization/Module.h
+include/clang/Serialization/ModuleFileExtension.h
+include/clang/Serialization/ModuleManager.h
+include/clang/Serialization/SerializationDiagnostic.h
+include/clang/StaticAnalyzer/Checkers/Checkers.inc
+include/clang/StaticAnalyzer/Checkers/ClangCheckers.h
+include/clang/StaticAnalyzer/Checkers/LocalCheckers.h
+include/clang/StaticAnalyzer/Checkers/MPIFunctionClassifier.h
+include/clang/StaticAnalyzer/Checkers/ObjCRetainCount.h
+include/clang/StaticAnalyzer/Checkers/SValExplainer.h
+include/clang/StaticAnalyzer/Core/Analyses.def
+include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
+include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
+include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitor.h
+include/clang/StaticAnalyzer/Core/BugReporter/BugType.h
+include/clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h
+include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h
+include/clang/StaticAnalyzer/Core/Checker.h
+include/clang/StaticAnalyzer/Core/CheckerManager.h
+include/clang/StaticAnalyzer/Core/CheckerOptInfo.h
+include/clang/StaticAnalyzer/Core/CheckerRegistry.h
+include/clang/StaticAnalyzer/Core/IssueHash.h
+include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h
+include/clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h
+include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h
+include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h
+include/clang/StaticAnalyzer/Core/PathSensitive/BlockCounter.h
+include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
+include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h
+include/clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h
+include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h
+include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h
+include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeInfo.h
+include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeMap.h
+include/clang/StaticAnalyzer/Core/PathSensitive/Environment.h
+include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h
+include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
+include/clang/StaticAnalyzer/Core/PathSensitive/FunctionSummary.h
+include/clang/StaticAnalyzer/Core/PathSensitive/LoopWidening.h
+include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
+include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h
+include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h
+include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h
+include/clang/StaticAnalyzer/Core/PathSensitive/Regions.def
+include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h
+include/clang/StaticAnalyzer/Core/PathSensitive/SValVisitor.h
+include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def
+include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
+include/clang/StaticAnalyzer/Core/PathSensitive/Store.h
+include/clang/StaticAnalyzer/Core/PathSensitive/StoreRef.h
+include/clang/StaticAnalyzer/Core/PathSensitive/SubEngine.h
+include/clang/StaticAnalyzer/Core/PathSensitive/SummaryManager.h
+include/clang/StaticAnalyzer/Core/PathSensitive/SymExpr.h
+include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h
+include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def
+include/clang/StaticAnalyzer/Core/PathSensitive/TaintManager.h
+include/clang/StaticAnalyzer/Core/PathSensitive/TaintTag.h
+include/clang/StaticAnalyzer/Core/PathSensitive/WorkList.h
+include/clang/StaticAnalyzer/Frontend/AnalysisConsumer.h
+include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h
+include/clang/StaticAnalyzer/Frontend/FrontendActions.h
+include/clang/StaticAnalyzer/Frontend/ModelConsumer.h
+include/clang/Tooling/ArgumentsAdjusters.h
+include/clang/Tooling/CommonOptionsParser.h
+include/clang/Tooling/CompilationDatabase.h
+include/clang/Tooling/CompilationDatabasePluginRegistry.h
+include/clang/Tooling/Core/Lookup.h
+include/clang/Tooling/Core/QualTypeNames.h
+include/clang/Tooling/Core/Replacement.h
+include/clang/Tooling/FileMatchTrie.h
+include/clang/Tooling/FixIt.h
+include/clang/Tooling/JSONCompilationDatabase.h
+include/clang/Tooling/Refactoring.h
+include/clang/Tooling/RefactoringCallbacks.h
+include/clang/Tooling/ReplacementsYaml.h
+include/clang/Tooling/Tooling.h
+lib/clang/${PKGVERSION}/include/__clang_cuda_builtin_vars.h
+lib/clang/${PKGVERSION}/include/__clang_cuda_cmath.h
+lib/clang/${PKGVERSION}/include/__clang_cuda_complex_builtins.h
+lib/clang/${PKGVERSION}/include/__clang_cuda_intrinsics.h
+lib/clang/${PKGVERSION}/include/__clang_cuda_math_forward_declares.h
+lib/clang/${PKGVERSION}/include/__clang_cuda_runtime_wrapper.h
+lib/clang/${PKGVERSION}/include/__stddef_max_align_t.h
+lib/clang/${PKGVERSION}/include/__wmmintrin_aes.h
+lib/clang/${PKGVERSION}/include/__wmmintrin_pclmul.h
+lib/clang/${PKGVERSION}/include/adxintrin.h
+lib/clang/${PKGVERSION}/include/altivec.h
+lib/clang/${PKGVERSION}/include/ammintrin.h
+lib/clang/${PKGVERSION}/include/arm_acle.h
+lib/clang/${PKGVERSION}/include/arm_neon.h
+lib/clang/${PKGVERSION}/include/armintr.h
+lib/clang/${PKGVERSION}/include/avx2intrin.h
+lib/clang/${PKGVERSION}/include/avx512bwintrin.h
+lib/clang/${PKGVERSION}/include/avx512cdintrin.h
+lib/clang/${PKGVERSION}/include/avx512dqintrin.h
+lib/clang/${PKGVERSION}/include/avx512erintrin.h
+lib/clang/${PKGVERSION}/include/avx512fintrin.h
+lib/clang/${PKGVERSION}/include/avx512ifmaintrin.h
+lib/clang/${PKGVERSION}/include/avx512ifmavlintrin.h
+lib/clang/${PKGVERSION}/include/avx512pfintrin.h
+lib/clang/${PKGVERSION}/include/avx512vbmiintrin.h
+lib/clang/${PKGVERSION}/include/avx512vbmivlintrin.h
+lib/clang/${PKGVERSION}/include/avx512vlbwintrin.h
+lib/clang/${PKGVERSION}/include/avx512vlcdintrin.h
+lib/clang/${PKGVERSION}/include/avx512vldqintrin.h
+lib/clang/${PKGVERSION}/include/avx512vlintrin.h
+lib/clang/${PKGVERSION}/include/avxintrin.h
+lib/clang/${PKGVERSION}/include/bmi2intrin.h
+lib/clang/${PKGVERSION}/include/bmiintrin.h
+lib/clang/${PKGVERSION}/include/clflushoptintrin.h
+lib/clang/${PKGVERSION}/include/cpuid.h
+lib/clang/${PKGVERSION}/include/cuda_wrappers/algorithm
+lib/clang/${PKGVERSION}/include/cuda_wrappers/complex
+lib/clang/${PKGVERSION}/include/emmintrin.h
+lib/clang/${PKGVERSION}/include/f16cintrin.h
+lib/clang/${PKGVERSION}/include/float.h
+lib/clang/${PKGVERSION}/include/fma4intrin.h
+lib/clang/${PKGVERSION}/include/fmaintrin.h
+lib/clang/${PKGVERSION}/include/fxsrintrin.h
+lib/clang/${PKGVERSION}/include/htmintrin.h
+lib/clang/${PKGVERSION}/include/htmxlintrin.h
+lib/clang/${PKGVERSION}/include/ia32intrin.h
+lib/clang/${PKGVERSION}/include/immintrin.h
+lib/clang/${PKGVERSION}/include/intrin.h
+lib/clang/${PKGVERSION}/include/inttypes.h
+lib/clang/${PKGVERSION}/include/iso646.h
+lib/clang/${PKGVERSION}/include/limits.h
+lib/clang/${PKGVERSION}/include/lzcntintrin.h
+lib/clang/${PKGVERSION}/include/mm3dnow.h
+lib/clang/${PKGVERSION}/include/mm_malloc.h
+lib/clang/${PKGVERSION}/include/mmintrin.h
+lib/clang/${PKGVERSION}/include/module.modulemap
+lib/clang/${PKGVERSION}/include/msa.h
+lib/clang/${PKGVERSION}/include/mwaitxintrin.h
+lib/clang/${PKGVERSION}/include/nmmintrin.h
+lib/clang/${PKGVERSION}/include/opencl-c.h
+lib/clang/${PKGVERSION}/include/pkuintrin.h
+lib/clang/${PKGVERSION}/include/pmmintrin.h
+lib/clang/${PKGVERSION}/include/popcntintrin.h
+lib/clang/${PKGVERSION}/include/prfchwintrin.h
+lib/clang/${PKGVERSION}/include/rdseedintrin.h
+lib/clang/${PKGVERSION}/include/rtmintrin.h
+lib/clang/${PKGVERSION}/include/s390intrin.h
+lib/clang/${PKGVERSION}/include/shaintrin.h
+lib/clang/${PKGVERSION}/include/smmintrin.h
+lib/clang/${PKGVERSION}/include/stdalign.h
+lib/clang/${PKGVERSION}/include/stdarg.h
+lib/clang/${PKGVERSION}/include/stdatomic.h
+lib/clang/${PKGVERSION}/include/stdbool.h
+lib/clang/${PKGVERSION}/include/stddef.h
+lib/clang/${PKGVERSION}/include/stdint.h
+lib/clang/${PKGVERSION}/include/stdnoreturn.h
+lib/clang/${PKGVERSION}/include/tbmintrin.h
+lib/clang/${PKGVERSION}/include/tgmath.h
+lib/clang/${PKGVERSION}/include/tmmintrin.h
+lib/clang/${PKGVERSION}/include/unwind.h
+lib/clang/${PKGVERSION}/include/vadefs.h
+lib/clang/${PKGVERSION}/include/varargs.h
+lib/clang/${PKGVERSION}/include/vecintrin.h
+lib/clang/${PKGVERSION}/include/wmmintrin.h
+lib/clang/${PKGVERSION}/include/x86intrin.h
+lib/clang/${PKGVERSION}/include/xmmintrin.h
+lib/clang/${PKGVERSION}/include/xopintrin.h
+lib/clang/${PKGVERSION}/include/xsavecintrin.h
+lib/clang/${PKGVERSION}/include/xsaveintrin.h
+lib/clang/${PKGVERSION}/include/xsaveoptintrin.h
+lib/clang/${PKGVERSION}/include/xsavesintrin.h
+lib/clang/${PKGVERSION}/include/xtestintrin.h
+lib/clang/${PKGVERSION}/include/cuda_wrappers/new
+lib/cmake/clang/ClangConfig.cmake
+lib/cmake/clang/ClangTargets-release.cmake
+lib/cmake/clang/ClangTargets.cmake
+lib/libclang.${SOEXT}
+${PLIST.notdylib}lib/libclang.${SOEXT}.${LLVM_MAJOR}
+lib/libclang.${SOEXT}.40
+lib/libclangAST.a
+lib/libclangASTMatchers.a
+lib/libclangAnalysis.a
+lib/libclangBasic.a
+lib/libclangCodeGen.a
+lib/libclangDriver.a
+lib/libclangDynamicASTMatchers.a
+lib/libclangEdit.a
+lib/libclangFormat.a
+lib/libclangFrontend.a
+lib/libclangFrontendTool.a
+lib/libclangIndex.a
+lib/libclangLex.a
+lib/libclangParse.a
+lib/libclangRewrite.a
+lib/libclangRewriteFrontend.a
+lib/libclangSema.a
+lib/libclangSerialization.a
+lib/libclangTooling.a
+lib/libclangToolingCore.a
+share/clang/clang-format-bbedit.applescript
+share/clang/clang-format-diff.py
+share/clang/clang-format-sublime.py
+share/clang/clang-format.el
+share/clang/clang-format.py
+share/clang/git-clang-format
diff --git a/clang-git-netbsd/TODO b/clang-git-netbsd/TODO
new file mode 100644
index 0000000..81c1d27
--- /dev/null
+++ b/clang-git-netbsd/TODO
@@ -0,0 +1,5 @@
+warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/clang/clang-format-bbedit.applescript: executable bit is set on non-executable file.
+warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/clang/clang-format-sublime.py: executable bit is set on non-executable file.
+warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/clang/clang-format.el: executable bit is set on non-executable file.
+warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/clang/clang-format.py: executable bit is set on non-executable file.
+warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/man/man1/scan-build.1: executable bit is set on non-executable file.
diff --git a/clang-git-netbsd/buildlink3.mk b/clang-git-netbsd/buildlink3.mk
new file mode 100644
index 0000000..13e2939
--- /dev/null
+++ b/clang-git-netbsd/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	clang
+
+.if !defined(CLANG_BUILDLINK3_MK)
+CLANG_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.clang+=	clang>=3.9.0
+BUILDLINK_PKGSRCDIR.clang?=	../../wip/clang-git
+
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../wip/llvm-git/buildlink3.mk"
+.endif	# CLANG_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-clang
diff --git a/clang-git-netbsd/distinfo b/clang-git-netbsd/distinfo
new file mode 100644
index 0000000..1ca315a
--- /dev/null
+++ b/clang-git-netbsd/distinfo
@@ -0,0 +1,15 @@
+$NetBSD: distinfo,v 1.35 2015/09/11 01:21:57 tnn Exp $
+
+SHA1 (cfe-3.6.2.src.tar.xz) = 7ba809c9c17819a16b668640a642ed134d7052f0
+RMD160 (cfe-3.6.2.src.tar.xz) = 10d913b4d5317f8c2520e5fc6117df30937317a8
+Size (cfe-3.6.2.src.tar.xz) = 8617576 bytes
+SHA1 (compiler-rt-3.6.2.src.tar.xz) = c6c52d2923a60f1a2ca2f22fea1770fd2e25728d
+RMD160 (compiler-rt-3.6.2.src.tar.xz) = 9b68a32d49d4bef4603d550934192f39fea42895
+Size (compiler-rt-3.6.2.src.tar.xz) = 1128080 bytes
+SHA1 (libcxx-3.6.2.src.tar.xz) = 6c5aee9f05ecf17d1e3ecb1add34a33a5a904469
+RMD160 (libcxx-3.6.2.src.tar.xz) = 42b8832d01d4e6b553babc93cb5dbd4ce2bb1931
+Size (libcxx-3.6.2.src.tar.xz) = 944020 bytes
+SHA1 (llvm-3.6.2.src.tar.xz) = 7a00257eb2bc9431e4c77c3a36b033072c54bc7e
+RMD160 (llvm-3.6.2.src.tar.xz) = 521cbc5fe2925ea3c6e90c7a31f752a04045c972
+Size (llvm-3.6.2.src.tar.xz) = 12802380 bytes
+SHA1 (patch-tools_clang-format_CMakeLists.txt) = f119d2a94cbfb8c00a285d1aa7789ed26f8309cf
diff --git a/clang-git-netbsd/patches/patch-tools_clang-format_CMakeLists.txt b/clang-git-netbsd/patches/patch-tools_clang-format_CMakeLists.txt
new file mode 100644
index 0000000..994196b
--- /dev/null
+++ b/clang-git-netbsd/patches/patch-tools_clang-format_CMakeLists.txt
@@ -0,0 +1,16 @@
+$NetBSD$
+
+git-clang-format is a git integration for clang-format,
+written in python. It could be moved to a separate package
+to avoid a python runtime dependency here, but for now I just opted
+to move it to share/clang and skip the interpreter check.
+
+--- tools/clang-format/CMakeLists.txt.orig	2016-02-23 23:55:19.000000000 +0000
++++ tools/clang-format/CMakeLists.txt
+@@ -35,5 +35,5 @@ install(PROGRAMS clang-format.py
+   DESTINATION share/clang
+   COMPONENT clang-format)
+ install(PROGRAMS git-clang-format
+-  DESTINATION bin
++  DESTINATION share/clang
+   COMPONENT clang-format)


Home | Main Index | Thread Index | Old Index