Bug 234542

Summary: science/hdf5: Does not create .pc file for linking
Product: Ports & Packages Reporter: Muhammad Moinur Rahman <bofh>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Open ---    
Severity: Affects Some People CC: thierry
Priority: --- Keywords: needs-patch
Version: LatestFlags: bugzilla: maintainer-feedback? (sunpoet)
koobs: merge-quarterly?
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251894
Bug Depends on:    
Bug Blocks: 236824    

Description Muhammad Moinur Rahman freebsd_committer 2019-01-01 12:31:59 UTC
science/hdf5 by default doeesn't create any .pc for pkg-config to dynamically link with it's libraries. So far it seems we will need to use cmake.
Comment 1 Thierry Thomas freebsd_committer 2020-12-16 15:52:53 UTC
I have just submitted PR 251894 which could solve this, if your port supports HDF5 1.12.0:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251894
Comment 2 Muhammad Moinur Rahman freebsd_committer 2020-12-18 22:12:31 UTC
(In reply to Thierry Thomas from comment #1)
My problem is with science/py-netCDF4 which cannot find the library itself as there is no .pc file. Thanks for the patch. I will try to give it a shot once it lands in the tree.