From: | "Kacper Kowalik (xarthisius)" <xarthisius@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-libs/hdf5/files: hdf5-1.8.14-ldflags.patch |
Date: | Thu, 27 Nov 2014 20:50:41 |
Message-Id: | 20141127205035.C24D2B0A9@oystercatcher.gentoo.org |
1 | xarthisius 14/11/27 20:50:35 |
2 | |
3 | Added: hdf5-1.8.14-ldflags.patch |
4 | Log: |
5 | Prevent injection of -L{prefix}/lib to LDFLAGS. Fixes bug #530746 by Ulenrich <eulenreich@×××.de>. Thanks to Jouni Kosonen <jouni.kosonen@××××××××.com> for the hint |
6 | |
7 | (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x5D21B852895192F9) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sci-libs/hdf5/files/hdf5-1.8.14-ldflags.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/hdf5/files/hdf5-1.8.14-ldflags.patch?rev=1.1&view=markup |
13 | 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 |
14 | |
15 | Index: hdf5-1.8.14-ldflags.patch |
16 | =================================================================== |
17 | Revert changes made to fix HDFFV-8944 |
18 | |
19 | https://bugs.gentoo.org/show_bug.cgi?id=530746 |
20 | |
21 | --- a/configure.ac |
22 | +++ b/configure.ac |
23 | @@ -115,12 +115,7 @@ |
24 | AM_CXXFLAGS="${AM_CXXFLAGS}" |
25 | AM_FCFLAGS="${AM_FCFLAGS}" |
26 | AM_CPPFLAGS="${AM_CPPFLAGS}" |
27 | -# Added to address HDFFV-8944 |
28 | -if test "x$prefix" = xNONE; then |
29 | - AM_LDFLAGS="$AM_LDFLAGS -L$ac_default_prefix/lib" |
30 | -else |
31 | - AM_LDFLAGS="$AM_LDFLAGS -L$prefix/lib" |
32 | -fi |
33 | +AM_LDFLAGS="${AM_LDFLAGS}" |
34 | CFLAGS="${CFLAGS}" |
35 | CXXFLAGS="${CXXFLAGS}" |
36 | FCFLAGS="${FCFLAGS}" |