Index: head/devel/include-what-you-use/Makefile =================================================================== --- head/devel/include-what-you-use/Makefile (revision 499715) +++ head/devel/include-what-you-use/Makefile (revision 499716) @@ -1,28 +1,28 @@ # Created by: Kubilay Kocak # $FreeBSD$ PORTNAME= include-what-you-use -PORTVERSION= 0.10 +PORTVERSION= 0.11 CATEGORIES= devel MAINTAINER= koobs@FreeBSD.org COMMENT= Tool for use with clang to analyze #includes in C and C++ source files LICENSE= NCSA LICENSE_FILE= ${WRKSRC}/LICENSE.TXT -BUILD_DEPENDS= clang60:devel/llvm60 -RUN_DEPENDS= clang60:devel/llvm60 +BUILD_DEPENDS= clang70:devel/llvm70 +RUN_DEPENDS= clang70:devel/llvm70 USES= cmake compiler:c++11-lang ncurses python:run shebangfix USE_GITHUB= yes SHEBANG_FILES= fix_includes.py \ iwyu_tool.py -GH_TAGNAME= clang_6.0 +GH_TAGNAME= clang_7.0 -CMAKE_ARGS+= -DIWYU_LLVM_INCLUDE_PATH=${LOCALBASE}/llvm60/include \ - -DIWYU_LLVM_LIB_PATH=${LOCALBASE}/llvm60/lib +CMAKE_ARGS+= -DLLVM_DIR=${LOCALBASE}/llvm70/lib/cmake/llvm \ + -DClang_DIR=${LOCALBASE}/llvm70/lib/cmake/clang .include Index: head/devel/include-what-you-use/distinfo =================================================================== --- head/devel/include-what-you-use/distinfo (revision 499715) +++ head/devel/include-what-you-use/distinfo (revision 499716) @@ -1,3 +1,3 @@ -TIMESTAMP = 1533500686 -SHA256 (include-what-you-use-include-what-you-use-0.10-clang_6.0_GH0.tar.gz) = 720275b2742462004c8b2b2317571569cec8d084f6e8eda745c99043b63d7175 -SIZE (include-what-you-use-include-what-you-use-0.10-clang_6.0_GH0.tar.gz) = 440406 +TIMESTAMP = 1545861077 +SHA256 (include-what-you-use-include-what-you-use-0.11-clang_7.0_GH0.tar.gz) = c6ce9a09fb3cd3c51f0a0eb83cd7d15e569f7947dabe87d3e0878b078a8d1d7b +SIZE (include-what-you-use-include-what-you-use-0.11-clang_7.0_GH0.tar.gz) = 541840 Index: head/devel/include-what-you-use/pkg-descr =================================================================== --- head/devel/include-what-you-use/pkg-descr (revision 499715) +++ head/devel/include-what-you-use/pkg-descr (revision 499716) @@ -1,15 +1,15 @@ "Include what you use" means this: for every symbol (type, function, variable, or macro) that you use in foo.cc (or foo.cpp), either foo.cc or foo.h should include a .h file that exports the declaration of that symbol. (Similarly, for foo_test.cc, either foo_test.cc or foo.h should do the including.) Obviously symbols defined in foo.cc itself are excluded from this requirement. This puts us in a state where every file includes the headers it needs to declare the symbols that it uses. When every file includes what it uses, then it is possible to edit any file and remove unused headers, without fear of accidentally breaking the upwards dependencies of that file. It also becomes easy to automatically track and update dependencies in the source code. -WWW: http://include-what-you-use.org +WWW: https://include-what-you-use.org Index: head/devel/include-what-you-use/pkg-plist =================================================================== --- head/devel/include-what-you-use/pkg-plist (revision 499715) +++ head/devel/include-what-you-use/pkg-plist (revision 499716) @@ -1,14 +1,18 @@ bin/fix_includes.py bin/include-what-you-use bin/iwyu_tool.py +%%DATADIR%%/boost-1.64-all-private.imp +%%DATADIR%%/boost-1.64-all.imp %%DATADIR%%/boost-all-private.imp %%DATADIR%%/boost-all.imp +%%DATADIR%%/clang-6.intrinsics.imp +%%DATADIR%%/gcc-8.intrinsics.imp %%DATADIR%%/gcc.libc.imp %%DATADIR%%/gcc.stl.headers.imp %%DATADIR%%/gcc.symbols.imp %%DATADIR%%/iwyu.gcc.imp %%DATADIR%%/libcxx.imp %%DATADIR%%/qt4.imp %%DATADIR%%/qt5_4.imp %%DATADIR%%/stl.c.headers.imp %%DATADIR%%/third_party.imp