Discovered this while poudiere testing blasr_libcpp: /usr/ports/science/hdf5-18/pkg-plist:%%FORTRAN%%include/hdf5-18/H5LaccProp.h /usr/ports/science/hdf5/pkg-plist:include/H5LaccProp.h /usr/local/include/hdf5-18/H5Cpp.h:#include "H5LaccProp.h" If hdf5 is installed in addition to hdf5-18, the problem is masked because the hdf5-18 headers pick up /usr/local/include/H5LaccProp.h. Poudriere testport exposes it by starting the build with no packages preinstalled.
Thanks for the report!
A commit references this bug: Author: thierry Date: Mon May 7 19:21:09 UTC 2018 New revision: 469323 URL: https://svnweb.freebsd.org/changeset/ports/469323 Log: Fix plist whith FORTRAN option. PR: 227857 Submitted by: jwb Changes: head/science/hdf5-18/Makefile head/science/hdf5-18/pkg-plist