commit: efb09755aa2d0231c64b1564593345d160e9ad05 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Mar 20 02:20:10 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Mar 20 02:20:10 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efb09755
sci-libs/hdf5: fix build with slibtool It's not completely clear how slibtool should've known to append -fPIC, but let's not worry too much for now. Closes: https://bugs.gentoo.org/775305 Signed-off-by: Sam James <sam <AT> gentoo.org> sci-libs/hdf5/hdf5-1.10.5-r1.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild b/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild index c3fa2f27d0c..5fb40889ca3 100644 --- a/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild +++ b/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -75,6 +75,9 @@ src_prepare() { sed -i -e "s/SHLIB:-no/SHLIB:-yes/g" tools/src/misc/h5cc.in || die hprefixify m4/libtool.m4 + # bug #775305 + use fortran && tc-enables-pie && append-fflags -fPIC + default eautomake }
