1 |
xarthisius 11/11/17 12:19:37 |
2 |
|
3 |
Added: hdf5-1.8.8-buildsystem.patch |
4 |
Log: |
5 |
Version bump wrt #390811 by Tolga Dalman, fixes bug #383843 by Cedric |
6 |
|
7 |
(Portage version: 2.2.0_alpha74/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 sci-libs/hdf5/files/hdf5-1.8.8-buildsystem.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/hdf5/files/hdf5-1.8.8-buildsystem.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/hdf5/files/hdf5-1.8.8-buildsystem.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: hdf5-1.8.8-buildsystem.patch |
16 |
=================================================================== |
17 |
Prevent build system with messing up LD_LIBRARY_PATH |
18 |
|
19 |
--- a/configure.in |
20 |
+++ b/configure.in |
21 |
@@ -2328,8 +2328,6 @@ |
22 |
dnl |
23 |
AC_MSG_CHECKING([how to print long long]) |
24 |
AC_CACHE_VAL([hdf5_cv_printf_ll], |
25 |
-LD_LIBRARY_PATH="$LD_LIBRARY_PATH`echo $AM_LDFLAGS $LDFLAGS | sed -e 's/-L/:/g' -e 's/ //g'`" |
26 |
-export LD_LIBRARY_PATH |
27 |
|
28 |
for hdf5_cv_printf_ll in l ll L q unknown; do |
29 |
AC_TRY_RUN([ |
30 |
--- a/src/Makefile.am |
31 |
+++ b/src/Makefile.am |
32 |
@@ -125,8 +125,6 @@ |
33 |
# Remove the generated .c file if errors occur unless HDF5_Make_Ignore |
34 |
# is set to ignore the error. |
35 |
H5Tinit.c: H5detect$(EXEEXT) |
36 |
- LD_LIBRARY_PATH="$$LD_LIBRARY_PATH`echo $(LDFLAGS) | \ |
37 |
- sed -e 's/-L/:/g' -e 's/ //g'`" \ |
38 |
$(RUNSERIAL) ./H5detect$(EXEEXT) > $@ || \ |
39 |
(test $$HDF5_Make_Ignore && echo "*** Error ignored") || \ |
40 |
($(RM) $@ ; exit 1) |
41 |
@@ -137,8 +135,6 @@ |
42 |
# Remove the generated .c file if errors occur unless HDF5_Make_Ignore |
43 |
# is set to ignore the error. |
44 |
H5lib_settings.c: H5make_libsettings$(EXEEXT) libhdf5.settings |
45 |
- LD_LIBRARY_PATH="$$LD_LIBRARY_PATH`echo $(LDFLAGS) | \ |
46 |
- sed -e 's/-L/:/g' -e 's/ //g'`" \ |
47 |
$(RUNSERIAL) ./H5make_libsettings$(EXEEXT) > $@ || \ |
48 |
(test $$HDF5_Make_Ignore && echo "*** Error ignored") || \ |
49 |
($(RM) $@ ; exit 1) |