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 photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
include-what-you-use Tool for use with clang to analyze #includes in C and C++ source files
0.21 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.21Version of this port present on the latest quarterly branch.
Maintainer: bofh@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2016-02-21 15:05:33
Last Update: 2023-11-12 19:23:00
Commit Hash: 9f673b5
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

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (30 items)
Collapse this list.
  1. /usr/local/share/licenses/include-what-you-use-0.21/catalog.mk
  2. /usr/local/share/licenses/include-what-you-use-0.21/LICENSE
  3. /usr/local/share/licenses/include-what-you-use-0.21/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-6.intrinsics.imp
  15. share/include-what-you-use/gcc-8.intrinsics.imp
  16. share/include-what-you-use/gcc.libc.imp
  17. share/include-what-you-use/gcc.stl.headers.imp
  18. share/include-what-you-use/gcc.symbols.imp
  19. share/include-what-you-use/iwyu.gcc.imp
  20. share/include-what-you-use/libcxx.imp
  21. share/include-what-you-use/python2.7.imp
  22. share/include-what-you-use/python3.8.imp
  23. share/include-what-you-use/qt4.imp
  24. share/include-what-you-use/qt5_11.imp
  25. share/include-what-you-use/qt5_4.imp
  26. share/include-what-you-use/stl.c.headers.imp
  27. share/include-what-you-use/stl.public.imp
  28. @owner
  29. @group
  30. @mode
Collapse this list.
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 = 1699785878 SHA256 (include-what-you-use-include-what-you-use-0.21_GH0.tar.gz) = a472fe8587376d041585c72e5643200f8929899f787725f0ba9e5b3d3820d401 SIZE (include-what-you-use-include-what-you-use-0.21_GH0.tar.gz) = 776263

Packages (timestamps in pop-ups are UTC):
include-what-you-use
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.210.21-0.210.21-0.12_1-
FreeBSD:13:quarterly0.210.21-0.210.210.210.210.21
FreeBSD:14:latest0.210.210.18_10.210.210.20--
FreeBSD:14:quarterly0.210.21-0.210.210.210.210.21
FreeBSD:15:latest0.210.21n/a0.21n/a0.210.210.21
FreeBSD:15:quarterly--n/a-n/a---
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-config17 : devel/llvm17
Runtime dependencies:
  1. llvm-config17 : devel/llvm17
  2. python3.8 : lang/python38
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_include-what-you-use
USES:
cmake llvm:17,build,run ncurses python:3.8,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.21?dummy=/
Collapse this list.

Number of commits found: 36

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.21
12 Nov 2023 19:23:00
commit hash: 9f673b5eb45a6eec5922a4013fce800e80c590e4commit hash: 9f673b5eb45a6eec5922a4013fce800e80c590e4commit hash: 9f673b5eb45a6eec5922a4013fce800e80c590e4commit hash: 9f673b5eb45a6eec5922a4013fce800e80c590e4 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/include-what-you-use: Update version 3.3.1=>3.4.0

Changelog:
https://github.com/pytest-dev/pytest-xdist/releases/tag/v3.4.0
0.20
22 Apr 2023 17:48:38
commit hash: 2eac212fad265f827efdbb521bfce75241f7d9e8commit hash: 2eac212fad265f827efdbb521bfce75241f7d9e8commit hash: 2eac212fad265f827efdbb521bfce75241f7d9e8commit hash: 2eac212fad265f827efdbb521bfce75241f7d9e8 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/include-what-you-use: Update version 0.18=>0.20

Changelog:
https://github.com/include-what-you-use/include-what-you-use/releases/tag/0.20
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
0.18_1
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.18_1
20 Jul 2022 14:21:35
commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
devel: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  <jkoshy@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron H. K. Diep <ahkdiep@gmail.com>
  *  Aaron Hurt <ahurt@anbcs.com>
  *  Abel Chow <abel_chow@yahoo.com>
  *  Adam McLaurin
  *  Adam Saponara <as@php.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.18_1
15 Jun 2022 19:43:15
commit hash: 975d9e8938ad54db545081c3f167b644090f0c2fcommit hash: 975d9e8938ad54db545081c3f167b644090f0c2fcommit hash: 975d9e8938ad54db545081c3f167b644090f0c2fcommit hash: 975d9e8938ad54db545081c3f167b644090f0c2f files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/include-what-you-use: Restrict to python3.8

Upstream supplies .imp files which are only available for python2.7 and
python3.8. So restrict it to only python3.8 only for now until upstream
updates.

Reported by:	fluffy
0.18_1
15 Jun 2022 18:38:26
commit hash: ca7f5508eba07dcee03045b9b218631ed86ebe0ccommit hash: ca7f5508eba07dcee03045b9b218631ed86ebe0ccommit hash: ca7f5508eba07dcee03045b9b218631ed86ebe0ccommit hash: ca7f5508eba07dcee03045b9b218631ed86ebe0c files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/include-what-you-use: Fix pkg-plist

Reported by:	thierry
0.18
16 May 2022 06:49:43
commit hash: 2d34c2bfeaa82867acfa7d73bec9644b2acecbb1commit hash: 2d34c2bfeaa82867acfa7d73bec9644b2acecbb1commit hash: 2d34c2bfeaa82867acfa7d73bec9644b2acecbb1commit hash: 2d34c2bfeaa82867acfa7d73bec9644b2acecbb1 files touched by this commit
Loïc Bartoletti (lbartoletti) search for other commits by this committer
devel/cmake: Update to 3.23.0

Update to 3.23.0.
Fix pkg-plist: using the default share/man location

Release Notes:
  https://cmake.org/cmake/help/v3.23/release/3.23.html

PR:		262886
Exp-run by:	antoine
0.18
23 Apr 2022 15:23:30
commit hash: abd3a337dcdedf3ad4428d7fd687ae4eb0eafac0commit hash: abd3a337dcdedf3ad4428d7fd687ae4eb0eafac0commit hash: abd3a337dcdedf3ad4428d7fd687ae4eb0eafac0commit hash: abd3a337dcdedf3ad4428d7fd687ae4eb0eafac0 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/include-what-you-use: Update version 0.17=>0.18

- Add support for llvm14

Relnotes:
https://github.com/include-what-you-use/include-what-you-use/releases/tag/0.18
0.17
12 Mar 2022 10:32:16
commit hash: 519eb2e24fc0a7768585ca1fd4744bc0c6574371commit hash: 519eb2e24fc0a7768585ca1fd4744bc0c6574371commit hash: 519eb2e24fc0a7768585ca1fd4744bc0c6574371commit hash: 519eb2e24fc0a7768585ca1fd4744bc0c6574371 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/include-what-you-use: Update version 0.15=>0.17

- Add support llvm13

Relnotes:
https://github.com/include-what-you-use/include-what-you-use/releases/tag/0.17
0.15
08 Mar 2022 02:09:57
commit hash: bc808e2bfff33c5b4260c571ee628017ca41f1b9commit hash: bc808e2bfff33c5b4260c571ee628017ca41f1b9commit hash: bc808e2bfff33c5b4260c571ee628017ca41f1b9commit hash: bc808e2bfff33c5b4260c571ee628017ca41f1b9 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
*/*: Take maintainership
0.15
07 Mar 2022 19:07:39
commit hash: 3d89f95e2ff861b1e06ad114422b5d116a856970commit hash: 3d89f95e2ff861b1e06ad114422b5d116a856970commit hash: 3d89f95e2ff861b1e06ad114422b5d116a856970commit hash: 3d89f95e2ff861b1e06ad114422b5d116a856970 files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: return koobs' ports to the pool after safekeeping his commit bit.
0.15
22 Apr 2021 12:40:36
commit hash: 2c9f5d1cb54dc06c60f83ee79435c0bdf579e65dcommit hash: 2c9f5d1cb54dc06c60f83ee79435c0bdf579e65dcommit hash: 2c9f5d1cb54dc06c60f83ee79435c0bdf579e65dcommit hash: 2c9f5d1cb54dc06c60f83ee79435c0bdf579e65d files touched by this commit
Rene Ladan (rene) search for other commits by this committer
devel/include-what-you-use: update to 0.15

PR:             255189
Approved by:    koobs (maintainer)
MFH:		2021Q2 (several bugfix releases)
0.12_1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.12_1
13 Oct 2020 02:41:53
Revision:552176Original commit files touched by this commit
linimon search for other commits by this committer
Now builds on powerpc64-12.

Approved by:	portmgr (tier-2 blanket)
0.12_1
17 May 2020 21:11:13
Revision:535682Original commit files touched by this commit
linimon search for other commits by this committer
Mark as broken on powerpc64:

  IWYU: configuring for LLVM 8.0.1...
  Could NOT find Git (missing: GIT_EXECUTABLE)

I have investigated but don't know why it breaks here but builds elsewhere.

Approved by:	portmgr (tier-2 blanket)
0.12_1
09 Aug 2019 09:56:32
Revision:508433Original commit files touched by this commit
linimon search for other commits by this committer
Escape hashtag character in COMMENT.
0.12_1
07 Aug 2019 08:40:45
Revision:508300Original commit files touched by this commit
linimon search for other commits by this committer
Refactor out the constant string '80' to ease future maintenance.
0.12_1
26 Jul 2019 20:46:57
Revision:507372Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
0.12
24 Apr 2019 05:38:20
Revision:499810Original commit files touched by this commit
koobs search for other commits by this committer
devel/include-what-you-use: Update to 0.12

Changelog:

 
https://github.com/include-what-you-use/include-what-you-use/releases/tag/clang_8.0
0.11
23 Apr 2019 05:29:45
Revision:499716Original commit files touched by this commit
koobs search for other commits by this committer
devel/include-what-you-use: Update to 0.11

PR:		234429
Submitted by:	Greg V <greg unrelenting.technology>
0.10
12 Mar 2019 01:05:27
Revision:495405Original commit files touched by this commit
linimon search for other commits by this committer
Fix build on gcc-based architectures:

  cc1plus: error: unrecognized command line option "-std=c++11"

Approved by:	portmgr (tier-2 blanket)
0.10
25 Dec 2018 20:25:40
Revision:488341Original commit files touched by this commit
tcberner search for other commits by this committer
Change cmake default behaviour to outsource.

Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
0.10
30 Oct 2018 18:34:39
Revision:483508Original commit files touched by this commit
linimon search for other commits by this committer
Now builds on powerpc64.
0.10
13 Aug 2018 16:55:50
Revision:477079Original commit files touched by this commit
rene search for other commits by this committer
devel/include-what-you-use: return to koobs@ per his request.
0.10
05 Aug 2018 20:45:47
Revision:476475Original commit files touched by this commit
rene search for other commits by this committer
devel/include-what-you-use: update to version 0.10

This version uses clang 6.0

Take over maintainership.

Approved by:	 koobs (implicit, three consecutive maintainer timeouts)
0.8_1
29 Jan 2018 11:11:03
Revision:460253Original commit files touched by this commit
jbeich search for other commits by this committer
devel/include-what-you-use: switch to llvm50 (like r457360)

PR:		224617
Approved by:	maintainer timeout (1 month)
MFH:		2018Q1
0.8
24 Dec 2017 14:20:07
Revision:457165Original commit files touched by this commit
rene search for other commits by this committer
devel/include-what-you-use: update to version 0.8

This version uses clang 4.0 instead of clang 3.9 to check files.
While here, pet portlint.

PR:		223537
Submitted by:	Anton Yuzhaninov (citrin+pr@citrin.ru)
Approved by:	maintainer timeout (koobs, 7 weeks)
0.7_1
21 May 2017 21:55:08
Revision:441429Original commit files touched by this commit
linimon search for other commits by this committer
Mark some ports failing on power64.  In cases where the error message
was a stub, provide a real one.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
Reported by:	swills
0.7_1
16 May 2017 21:05:41
Revision:441058Original commit files touched by this commit
tcberner search for other commits by this committer
Fix shebangs.

Approved by:	rakuco (mentor, implicit)
0.7
01 Jan 2017 03:45:13
Revision:430235Original commit files touched by this commit
sunpoet search for other commits by this committer
Remove BROKEN_FreeBSD_9

Approved by:	portmgr (blanket)
0.7
27 Dec 2016 12:16:32
Revision:429611Original commit files touched by this commit
rene search for other commits by this committer
devel/include-what-you-use: update to version 0.7

- now uses clang 3.9 instead of clang 3.7
- add mappings for Qt 5.4
- premilinary mapings for libc++
- bugfix in fix_incudes.py
- various other fixes and enhancements
- add pkg-plist

PR:		215211
Submitted by:	rene
Approved by:	maintainer timeout (koobs, 16 days)
0.5_1
21 Oct 2016 08:40:09
Revision:424392Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Mark broken on 9.x:

cc1plus: error: unrecognized command line option "-std=c++11"

Approved by:	portmgr blanket
0.5_1
01 Apr 2016 14:00:57
Revision:412346Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
0.5_1
09 Mar 2016 11:12:05
Revision:410698Original commit files touched by this commit
antoine search for other commits by this committer
Fix DEPENDS
0.5
21 Feb 2016 15:05:22
Revision:409295Original commit files touched by this commit
koobs search for other commits by this committer
[NEW] devel/include-what-you-use: Clang tool to analyze #includes in C and C++
sources

"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

Number of commits found: 36