- Ran portlint:
$ portlint devel/lcov/
WARN: Makefile: [21]: possible direct use of command "perl" found. use ${PERL} instead.
0 fatal errors and 1 warning found.
$
- Ran "DEVELOPER=yes make reinstall":
$ sudo make -C devel/lcov reinstall DEVELOPER=yes
===> Generating temporary packing list
cd /usr/obj/usr/ports/devel/lcov/work/lcov-1.13 && DESTDIR=/usr/obj/usr/ports/devel/lcov/work/stage gmake install
gmake[3]: Entering directory '/usr/obj/usr/ports/devel/lcov/work/lcov-1.13'
bin/install.sh bin/lcov /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/bin/lcov -m 755
bin/install.sh bin/genhtml /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/bin/genhtml -m 755
bin/install.sh bin/geninfo /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/bin/geninfo -m 755
bin/install.sh bin/genpng /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/bin/genpng -m 755
bin/install.sh bin/gendesc /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/bin/gendesc -m 755
bin/install.sh man/lcov.1 /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/share/man/man1/lcov.1 -m 644
bin/install.sh man/genhtml.1 /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/share/man/man1/genhtml.1 -m 644
bin/install.sh man/geninfo.1 /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/share/man/man1/geninfo.1 -m 644
bin/install.sh man/genpng.1 /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/share/man/man1/genpng.1 -m 644
bin/install.sh man/gendesc.1 /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/share/man/man1/gendesc.1 -m 644
bin/install.sh man/lcovrc.5 /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/share/man/man5/lcovrc.5 -m 644
bin/install.sh lcovrc /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/etc/lcovrc -m 644
bin/updateversion.pl /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/bin/lcov 1.13 1 1.13
Updating bin tool /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/bin/lcov
Done.
bin/updateversion.pl /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/bin/genhtml 1.13 1 1.13
Updating bin tool /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/bin/genhtml
Done.
bin/updateversion.pl /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/bin/geninfo 1.13 1 1.13
Updating bin tool /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/bin/geninfo
Done.
bin/updateversion.pl /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/bin/genpng 1.13 1 1.13
Updating bin tool /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/bin/genpng
Done.
bin/updateversion.pl /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/bin/gendesc 1.13 1 1.13
Updating bin tool /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/bin/gendesc
Done.
bin/updateversion.pl /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/share/man/man1/lcov.1 1.13 1 1.13
Updating man page /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/share/man/man1/lcov.1
Done.
bin/updateversion.pl /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/share/man/man1/genhtml.1 1.13 1 1.13
Updating man page /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/share/man/man1/genhtml.1
Done.
bin/updateversion.pl /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/share/man/man1/geninfo.1 1.13 1 1.13
Updating man page /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/share/man/man1/geninfo.1
Done.
bin/updateversion.pl /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/share/man/man1/genpng.1 1.13 1 1.13
Updating man page /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/share/man/man1/genpng.1
Done.
bin/updateversion.pl /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/share/man/man1/gendesc.1 1.13 1 1.13
Updating man page /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/share/man/man1/gendesc.1
Done.
bin/updateversion.pl /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/share/man/man5/lcovrc.5 1.13 1 1.13
Updating man page /usr/obj/usr/ports/devel/lcov/work/stage/usr/local/share/man/man5/lcovrc.5
Done.
gmake[3]: Leaving directory '/usr/obj/usr/ports/devel/lcov/work/lcov-1.13'
====> Compressing man pages (compress-man)
====> Running Q/A tests (stage-qa)
===> Installing for lcov-1.13
===> Registering installation for lcov-1.13
Installing lcov-1.13...
$ echo $?
0
$
- Ran lcov/genhtml and looked at the output:
```$ (export MAKEFLAGS=-s; cd ~/nfs/git/scratch/coverage-with-shared-libs-freebsd/; make obj; make; make get-coverage)
===> lib (obj)
===> bin (obj)
===> lib (all)
===> bin (all)
This is foo
Capturing coverage data from /usr/obj/home/ngie/nfs/git/scratch/coverage-with-shared-libs-freebsd
Found gcov version: 4.2.1
Scanning /usr/obj/home/ngie/nfs/git/scratch/coverage-with-shared-libs-freebsd for .gcda files ...
Found 2 data files in /usr/obj/home/ngie/nfs/git/scratch/coverage-with-shared-libs-freebsd
Processing lib/foo.gcda
/usr/obj/home/ngie/nfs/git/scratch/coverage-with-shared-libs-freebsd/lib/foo.gcno:version '402*', prefer '402p'
/usr/obj/home/ngie/nfs/git/scratch/coverage-with-shared-libs-freebsd/lib/foo.gcda:version '402*', prefer version '402p'
Processing bin/foo.gcda
/usr/obj/home/ngie/nfs/git/scratch/coverage-with-shared-libs-freebsd/bin/foo.gcno:version '402*', prefer '402p'
/usr/obj/home/ngie/nfs/git/scratch/coverage-with-shared-libs-freebsd/bin/foo.gcda:version '402*', prefer version '402p'
Finished .info-file creation
Reading data file /usr/obj/home/ngie/nfs/git/scratch/coverage-with-shared-libs-freebsd/coverage.info
Found 2 entries.
Found common filename prefix "/home/ngie/nfs/git/scratch/coverage-with-shared-libs-freebsd"
Writing .css and .png files.
Generating output.
Processing file bin/foo.c
Processing file lib/foo.c
Writing directory view page.
Overall coverage rate:
lines......: 75.0% (3 of 4 lines)
functions..: 100.0% (2 of 2 functions)
```