| Port details on branch 2026Q4 |
- include-what-you-use Tool for use with clang to analyze #includes in C and C++ source files
- 0.27 devel
=0 0.27Version of this port present on the latest quarterly branch. - Maintainer: bofh@FreeBSD.org
 - Port Added: 2026-10-09 02:37:55
- Last Update: 2026-10-09 02:28:47
- Commit Hash: a9fa5f4
- License: NCSA
- WWW:
- https://include-what-you-use.org
- Description:
- "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.
¦ ¦ ¦ ¦ 
- Manual pages:
-
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- include-what-you-use>0:devel/include-what-you-use
- To install the port:
- cd /usr/ports/devel/include-what-you-use/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/include-what-you-use
- pkg install include-what-you-use
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: include-what-you-use
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1791506697
SHA256 (include-what-you-use-include-what-you-use-0.27_GH0.tar.gz) = 982680d5ee25826fe7dd60d4ec4f2ac7d8f99b545d6a680b77de9e083278357f
SIZE (include-what-you-use-include-what-you-use-0.27_GH0.tar.gz) = 1198114
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:

- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- cmake : devel/cmake-core
- ninja : devel/ninja
- llvm-config23 : devel/llvm23
- Runtime dependencies:
-
- llvm-config23 : devel/llvm23
- python3.12 : lang/python312
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_include-what-you-use
- USES:
- cmake llvm:23,build,run ncurses python:run shebangfix
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|