Summary: | sci-libs/hdf5-1.8.21 - pkg-config files are not generated | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | tk+gentoo |
Component: | Current packages | Assignee: | Gentoo Science Related Packages <sci> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | espinafre, handgranaten-herbert |
Priority: | Normal | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
hdf5 ebuild that uses cmake and thus generates *pc files
hdf5-1.10.5-r1.ebuild |
Description
tk+gentoo
2019-01-16 17:11:07 UTC
Created attachment 561436 [details]
hdf5 ebuild that uses cmake and thus generates *pc files
Digging deeper, it seems that the tested versions 1.10.1, 1.10.2, 1.10.3, all are defect by themselves when it comes to *.pc files. Thus a change to cmake *and* an upgrade to 1.10.4 is necessary for *.pc files generation. Based on your insight, I've created an ebuild for hdf5-1.10.5 (I call it -r1) with EAPI 7, which: 0. generates the pkg-config files; 1. makes it possible to use Fortran with CMake; 2. fixes the location of libraries that .pc files point to (${prefix}/HDF5_INSTALL_LIB_DIR - which tranlsates to /usr/lib64 on amd64 - instead of ${exec_prefix}/lib , which translates to /usr/lib on amd64 ); 3. cleans up a little lint (not all of it). Created attachment 588572 [details]
hdf5-1.10.5-r1.ebuild
These fixes work for me. Anything blocking getting this into the tree? |