Bug 227857

Summary: science/hdf5-18: H5PaccProp.h should not be limited to Fortran builds
Product: Ports & Packages Reporter: Jason W. Bacon <jwb>
Component: Individual Port(s)Assignee: Thierry Thomas <thierry>
Status: Closed FIXED    
Severity: Affects Some People Flags: thierry: maintainer-feedback+
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Jason W. Bacon freebsd_committer freebsd_triage 2018-04-29 18:13:39 UTC
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.
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2018-05-07 19:21:13 UTC
Thanks for the report!
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-05-07 19:21:41 UTC
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