notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Volunteers wanted to help translate FreshPorts
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 on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.27Version of this port present on the latest quarterly branch.
Maintainer: bofh@FreeBSD.org search for ports maintained by this maintainer
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (24 items)
Collapse this list.
  1. /usr/local/share/licenses/include-what-you-use-0.27/catalog.mk
  2. /usr/local/share/licenses/include-what-you-use-0.27/LICENSE
  3. /usr/local/share/licenses/include-what-you-use-0.27/NCSA
  4. bin/fix_includes.py
  5. bin/include-what-you-use
  6. bin/iwyu_tool.py
  7. share/man/man1/include-what-you-use.1.gz
  8. share/include-what-you-use/boost-1.64-all-private.imp
  9. share/include-what-you-use/boost-1.64-all.imp
  10. share/include-what-you-use/boost-1.75-all-private.imp
  11. share/include-what-you-use/boost-1.75-all.imp
  12. share/include-what-you-use/boost-all-private.imp
  13. share/include-what-you-use/boost-all.imp
  14. share/include-what-you-use/clang-22.intrinsics.imp
  15. share/include-what-you-use/clang-6.intrinsics.imp
  16. share/include-what-you-use/gcc-8.intrinsics.imp
  17. share/include-what-you-use/python2.7.imp
  18. share/include-what-you-use/python3.8.imp
  19. share/include-what-you-use/qt4.imp
  20. share/include-what-you-use/qt5_11.imp
  21. share/include-what-you-use/qt5_4.imp
  22. @owner
  23. @group
  24. @mode
Collapse this list.
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: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
  3. llvm-config23 : devel/llvm23
Runtime dependencies:
  1. llvm-config23 : devel/llvm23
  2. 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:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/include-what-you-use/include-what-you-use/tar.gz/0.27?dummy=/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.27
09 Oct 2026 02:28:47
commit hash: a9fa5f490aa21a5e0034e82372fb43be4fc56bdecommit hash: a9fa5f490aa21a5e0034e82372fb43be4fc56bdecommit hash: a9fa5f490aa21a5e0034e82372fb43be4fc56bdecommit hash: a9fa5f490aa21a5e0034e82372fb43be4fc56bde files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/include-what-you-use: Update version 0.26=>0.27

Changelog:
https://github.com/include-what-you-use/include-what-you-use/releases/tag/0.27
(cherry picked from commit bbfe221ba52182a605027885ee717565ffaab72c)

Number of commits found: 1