notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)

Two new features

Two two features were added on 2020-05-30:
  1. Repology links - each port now has a link to repology.org. See issue 148 for details.
  2. Ports I maintain report - port maintainers can now subscribe to a daily report of commits to the ports they maintain. See Watch ports I maintain at Report Subscriptions. Details at issue 138
Port details
include-what-you-use Tool for use with clang to analyze #includes in C and C++ source files
0.12_1 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. 0.12_1Version of this port present on the latest quarterly branch.
Maintainer: koobs@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2016-02-21 15:05:33
Last Update: 2020-05-17 22:11:13
SVN Revision: 535682
License: NCSA
Description:
SVNWeb : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (20 items)
  1. /usr/local/share/licenses/include-what-you-use-0.12_1/catalog.mk
  2. /usr/local/share/licenses/include-what-you-use-0.12_1/LICENSE
  3. /usr/local/share/licenses/include-what-you-use-0.12_1/NCSA
  4. bin/fix_includes.py
  5. bin/include-what-you-use
  6. bin/iwyu_tool.py
  7. share/include-what-you-use/boost-1.64-all-private.imp
  8. share/include-what-you-use/boost-1.64-all.imp
  9. share/include-what-you-use/boost-all-private.imp
  10. share/include-what-you-use/boost-all.imp
  11. share/include-what-you-use/clang-6.intrinsics.imp
  12. share/include-what-you-use/gcc-8.intrinsics.imp
  13. share/include-what-you-use/gcc.libc.imp
  14. share/include-what-you-use/gcc.stl.headers.imp
  15. share/include-what-you-use/gcc.symbols.imp
  16. share/include-what-you-use/iwyu.gcc.imp
  17. share/include-what-you-use/libcxx.imp
  18. share/include-what-you-use/qt4.imp
  19. share/include-what-you-use/qt5_4.imp
  20. share/include-what-you-use/stl.c.headers.imp
Collapse this list.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}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: pkg install include-what-you-use
PKGNAME: include-what-you-use
Flavors: there is no flavor information for this port.
distinfo:
Packages:
include-what-you-use
ABIlatestquarterly
FreeBSD:11:aarch640.10-
FreeBSD:11:amd640.12_10.12_1
FreeBSD:11:armv60.5_1-
FreeBSD:11:i3860.12_10.12_1
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch640.10-
FreeBSD:12:amd640.12_10.12_1
FreeBSD:12:armv60.10-
FreeBSD:12:armv70.10-
FreeBSD:12:i3860.12_10.12_1
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64--
FreeBSD:13:amd640.12_1-
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i3860.12_1-
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64--
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. clang80 : devel/llvm80
  2. cmake : devel/cmake
  3. ninja : devel/ninja
Runtime dependencies:
  1. clang80 : devel/llvm80
  2. python3.7 : lang/python37
There are no ports dependent upon this port

Configuration Options

USES:

Master Sites:
  1. https://codeload.github.com/include-what-you-use/include-what-you-use/tar.gz/clang_8.0?dummy=/

Number of commits found: 21

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
17 May 2020 21:11:13
Original commit files touched by this commit  0.12_1
Revision:535682
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)
09 Aug 2019 09:56:32
Original commit files touched by this commit  0.12_1
Revision:508433
linimon search for other commits by this committer
Escape hashtag character in COMMENT.
07 Aug 2019 08:40:45
Original commit files touched by this commit  0.12_1
Revision:508300
linimon search for other commits by this committer
Refactor out the constant string '80' to ease future maintenance.
26 Jul 2019 20:46:57
Original commit files touched by this commit  0.12_1
Revision:507372
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
24 Apr 2019 05:38:20
Original commit files touched by this commit  0.12
Revision:499810
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
23 Apr 2019 05:29:45
Original commit files touched by this commit  0.11
Revision:499716
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>
12 Mar 2019 01:05:27
Original commit files touched by this commit  0.10
Revision:495405
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)
25 Dec 2018 20:25:40
Original commit files touched by this commit  0.10
Revision:488341
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
30 Oct 2018 18:34:39
Original commit files touched by this commit  0.10
Revision:483508
linimon search for other commits by this committer
Now builds on powerpc64.
13 Aug 2018 16:55:50
Original commit files touched by this commit  0.10
Revision:477079
rene search for other commits by this committer
devel/include-what-you-use: return to koobs@ per his request.
05 Aug 2018 20:45:47
Original commit files touched by this commit  0.10
Revision:476475
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)
29 Jan 2018 11:11:03
Original commit files touched by this commit  0.8_1
Revision:460253
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
24 Dec 2017 14:20:07
Original commit files touched by this commit  0.8
Revision:457165
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)
21 May 2017 21:55:08
Original commit files touched by this commit  0.7_1
Revision:441429
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
16 May 2017 21:05:41
Original commit files touched by this commit  0.7_1
Revision:441058
tcberner search for other commits by this committer
Fix shebangs.

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

Approved by:	portmgr (blanket)
27 Dec 2016 12:16:32
Original commit files touched by this commit  0.7
Revision:429611
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)
21 Oct 2016 08:40:09
Original commit files touched by this commit  0.5_1
Revision:424392
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
01 Apr 2016 14:00:57
Original commit files touched by this commit  0.5_1
Revision:412346
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
09 Mar 2016 11:12:05
Original commit files touched by this commit  0.5_1
Revision:410698
antoine search for other commits by this committer
Fix DEPENDS
21 Feb 2016 15:05:22
Original commit files touched by this commit  0.5
Revision:409295
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: 21

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
dbusJul 03
py-matrix-synapseJul 03
coturnJul 02
gitlab-ceJul 02
powerdns-recursorJul 02
drupal7Jul 01
xrdpJun 30
mongodb36Jun 29
mongodb40Jun 29
libvorbisJun 28
puttyJun 28
putty-gtk2Jun 28
putty-nogtkJun 28
sqlite3*Jun 25
chromiumJun 24

21 vulnerabilities affecting 104 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2020-07-03 08:06:05


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 39613
Broken 79
Deprecated 578
Ignore 313
Forbidden 5
Restricted 146
No CDROM 76
Vulnerable 19
Expired 4
Set to expire 548
Interactive 0
new 24 hours 1
new 48 hours2
new 7 days28
new fortnight51
new month144

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2020 Dan Langille. All rights reserved.