xarthisius 14/11/27 20:50:35 Added: hdf5-1.8.14-ldflags.patch Log: Prevent injection of -L{prefix}/lib to LDFLAGS. Fixes bug #530746 by Ulenrich <eulenre...@gmx.de>. Thanks to Jouni Kosonen <jouni.koso...@tukesoft.com> for the hint (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x5D21B852895192F9)
Revision Changes Path 1.1 sci-libs/hdf5/files/hdf5-1.8.14-ldflags.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/hdf5/files/hdf5-1.8.14-ldflags.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/hdf5/files/hdf5-1.8.14-ldflags.patch?rev=1.1&content-type=text/plain Index: hdf5-1.8.14-ldflags.patch =================================================================== Revert changes made to fix HDFFV-8944 https://bugs.gentoo.org/show_bug.cgi?id=530746 --- a/configure.ac +++ b/configure.ac @@ -115,12 +115,7 @@ AM_CXXFLAGS="${AM_CXXFLAGS}" AM_FCFLAGS="${AM_FCFLAGS}" AM_CPPFLAGS="${AM_CPPFLAGS}" -# Added to address HDFFV-8944 -if test "x$prefix" = xNONE; then - AM_LDFLAGS="$AM_LDFLAGS -L$ac_default_prefix/lib" -else - AM_LDFLAGS="$AM_LDFLAGS -L$prefix/lib" -fi +AM_LDFLAGS="${AM_LDFLAGS}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" FCFLAGS="${FCFLAGS}"