Group :: Sistema/Bibliotecas
RPM: libhdf5
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: hdf5-config.patch
Download
Download
--- hdf5-1.6.0/config/commence.in.orig 2003-07-03 19:23:35.000000000 +0200
+++ hdf5-1.6.0/config/commence.in 2003-07-19 14:00:59.000000000 +0200
@@ -51,7 +51,7 @@
LT_LINK_EXE=$(LT) --mode=link $(CC) $(LT_STATIC_EXEC) -dlopen self -rpath $(libdir) $(DYNAMIC_DIRS)
LT_RUN=$(LT) --mode=execute
LT_INSTALL_PROG=$(LT) --mode=install $(INSTALL_PROGRAM)
-LT_INSTALL_LIB=$(LT) --mode=install $(INSTALL_DATA)
+LT_INSTALL_LIB=$(LT) --mode=install $(INSTALL_PROGRAM)
LT_UNINSTALL=$(LT) --mode=uninstall $(RM)
## Optional variables. We must declare them here because Irix pmake
--- hdf5-1.6.0/c++/config/commence.in.orig 2003-06-30 17:19:35.000000000 +0200
+++ hdf5-1.6.0/c++/config/commence.in 2003-07-19 14:01:16.000000000 +0200
@@ -50,11 +50,11 @@
DYNAMIC_DIRS=@DYNAMIC_DIRS@
LT=$(top_builddir)/libtool
LT_COMPILE=$(LT) --mode=compile $(CXX)
-LT_LINK_LIB=$(LT) --mode=link $(CXX) -static -rpath $(libdir) $(DYNAMIC_DIRS)
-LT_LINK_EXE=$(LT) --mode=link $(CXX) -static $(LT_STATIC_EXEC) -dlopen self -rpath $(bindir) $(DYNAMIC_DIRS)
+LT_LINK_LIB=$(LT) --mode=link $(CXX) -rpath $(libdir) $(DYNAMIC_DIRS)
+LT_LINK_EXE=$(LT) --mode=link $(CXX) $(LT_STATIC_EXEC) -dlopen self -rpath $(bindir) $(DYNAMIC_DIRS)
LT_RUN=$(LT) --mode=execute
LT_INSTALL_PROG=$(LT) --mode=install $(INSTALL_PROGRAM)
-LT_INSTALL_LIB=$(LT) --mode=install $(INSTALL_DATA)
+LT_INSTALL_LIB=$(LT) --mode=install $(INSTALL_PROGRAM)
LT_UNINSTALL=$(LT) --mode=uninstall $(RM)
## Optional variables. We must declare them here because Irix pmake
--- hdf5-1.6.5/config/gnu-flags.orig 2005-10-28 22:15:26.000000000 +0200
+++ hdf5-1.6.5/config/gnu-flags 2005-11-15 18:20:35.303439288 +0100
@@ -140,7 +120,6 @@
# Production
case "$cc_vendor-$cc_version" in
gcc-2.95.[34])
- PROD_CFLAGS="-O3"
;;
gcc-3.[0-4]*|gcc-4.[01]*)
# The optimization level is reduced for gcc 3.* and 4.* due to problems
@@ -148,14 +127,11 @@
# optimization levels (which shows up as failures for various integer
# types -> long long conversions in the test/dtypes test). Perhaps
# later versions of gcc will fix this bug... - QAK - 2003/10/20
- PROD_CFLAGS="-O"
;;
gcc-4*)
# Be optimistic about future versions of gcc.. :-) - QAK - 2003/10/20
- PROD_CFLAGS="-O3"
;;
*)
- PROD_CFLAGS="-O"
;;
esac
--- hdf5-1.6.6/config/conclude.in.orig 2007-08-16 20:12:23 +0400
+++ hdf5-1.6.6/config/conclude.in 2007-09-15 01:13:36 +0400
@@ -170,18 +170,18 @@ $(EXAMPLEDIR):
install: $(AUX_LIB) $(PUB_LIB) $(PUB_HDR) $(PUB_PROGS) $(libdir) $(includedir) $(bindir)
@for f in X $(PUB_LIB); do \
if test $$f != X; then \
- ($(LT_INSTALL_LIB) $$f $(libdir)/. || exit 1); \
+ ($(LT_INSTALL_LIB) $$f $(libdir) || exit 1); \
fi; \
done
@if test -f libhdf5.settings; then \
- (set -x; $(INSTALL_DATA) libhdf5.settings $(libdir)/. || exit 1); \
+ (set -x; $(INSTALL_DATA) libhdf5.settings $(libdir) || exit 1); \
fi
@for f in X $(PUB_HDR); do \
if test $$f != X; then \
if test -f $$f; then \
- (set -x; $(INSTALL_DATA) $$f $(includedir)/. || exit 1); \
+ (set -x; $(INSTALL_DATA) $$f $(includedir) || exit 1); \
else \
- (set -x; $(INSTALL_DATA) $(srcdir)/$$f $(includedir)/. || \
+ (set -x; $(INSTALL_DATA) $(srcdir)/$$f $(includedir) || \
exit 1); \
fi; \
fi; \
@@ -194,10 +194,10 @@ install: $(AUX_LIB) $(PUB_LIB) $(PUB_HDR
elif test $$f = "h5fc"; then \
($(LT_INSTALL_PROG) $$f $(bindir)/h5pfc || exit 1); \
else \
- ($(LT_INSTALL_PROG) $$f $(bindir)/. || exit 1); \
+ ($(LT_INSTALL_PROG) $$f $(bindir) || exit 1); \
fi; \
else \
- ($(LT_INSTALL_PROG) $$f $(bindir)/. || exit 1); \
+ ($(LT_INSTALL_PROG) $$f $(bindir) || exit 1); \
fi; \
fi; \
done
@@ -210,7 +210,7 @@ install: $(AUX_LIB) $(PUB_LIB) $(PUB_HDR
install-examples: $(EXAMPLE_PROGS) $(EXAMPLEDIR)
@for f in X $(EXAMPLE_PROGS); do \
if test $$f != X; then \
- (set -x; $(INSTALL_DATA) $(srcdir)/$$f $(EXAMPLEDIR)/. || exit 1);\
+ (set -x; $(INSTALL_DATA) $(srcdir)/$$f $(EXAMPLEDIR) || exit 1);\
fi; \
done
@@ -244,9 +244,9 @@ install-doc: $(PUB_DOCS) $(DOCDIR)
@for f in X $(PUB_DOCS); do \
if test $$f != X; then \
if test -f $$f; then \
- (set -x; $(INSTALL_DATA) $$f $(DOCDIR)/. || exit 1); \
+ (set -x; $(INSTALL_DATA) $$f $(DOCDIR) || exit 1); \
else \
- (set -x; $(INSTALL_DATA) $(srcdir)/$$f $(DOCDIR)/. || \
+ (set -x; $(INSTALL_DATA) $(srcdir)/$$f $(DOCDIR) || \
exit 1); \
fi; \
fi; \
@@ -254,9 +254,9 @@ install-doc: $(PUB_DOCS) $(DOCDIR)
@for f in X $(PUB_SUBDOCS); do \
if test $$f != X; then \
if test -f $$f; then \
- (set -x; $(INSTALL_DATA) $$f $(SUBDOCDIR)/. || exit 1); \
+ (set -x; $(INSTALL_DATA) $$f $(SUBDOCDIR) || exit 1); \
else \
- (set -x; $(INSTALL_DATA) $(srcdir)/$$f $(SUBDOCDIR)/. || \
+ (set -x; $(INSTALL_DATA) $(srcdir)/$$f $(SUBDOCDIR) || \
exit 1); \
fi; \
fi; \
--- hdf5-1.6.6/c++/config/conclude.in.orig 2007-08-16 20:12:24 +0400
+++ hdf5-1.6.6/c++/config/conclude.in 2007-09-15 01:21:19 +0400
@@ -109,32 +109,32 @@ $(EXAMPLEDIR):
install: $(PUB_LIB) $(PUB_HDR) $(PUB_PROGS) $(libdir) $(includedir) $(bindir)
@for f in X $(PUB_LIB); do \
if test $$f != X; then \
- ($(LT_INSTALL_LIB) $$f $(libdir)/. || exit 1); \
+ ($(LT_INSTALL_LIB) $$f $(libdir) || exit 1); \
fi; \
done
@if test -f libhdf5_cpp.settings; then \
- (set -x; $(INSTALL_DATA) libhdf5_cpp.settings $(libdir)/. || exit 1); \
+ (set -x; $(INSTALL_DATA) libhdf5_cpp.settings $(libdir) || exit 1); \
fi
@for f in X $(PUB_HDR); do \
if test $$f != X; then \
if test -f $$f; then \
- (set -x; $(INSTALL_DATA) $$f $(includedir)/. || exit 1); \
+ (set -x; $(INSTALL_DATA) $$f $(includedir) || exit 1); \
else \
- (set -x; $(INSTALL_DATA) $(srcdir)/$$f $(includedir)/. || \
+ (set -x; $(INSTALL_DATA) $(srcdir)/$$f $(includedir) || \
exit 1); \
fi; \
fi; \
done
@for f in X $(PUB_PROGS); do \
if test $$f != X; then \
- ($(LT_INSTALL_PROG) $$f $(bindir)/. || exit 1); \
+ ($(LT_INSTALL_PROG) $$f $(bindir) || exit 1); \
fi; \
done
install-examples: $(EXAMPLE_PROGS) $(EXAMPLEDIR)
@for f in X $(EXAMPLE_PROGS); do \
if test $$f != X; then \
- (set -x; $(INSTALL_DATA) $(srcdir)/$$f $(EXAMPLEDIR)/. || exit 1);\
+ (set -x; $(INSTALL_DATA) $(srcdir)/$$f $(EXAMPLEDIR) || exit 1);\
fi; \
done