1 |
bicatali 09/10/02 16:09:26 |
2 |
|
3 |
Modified: hdf5-1.8.3-destdir.patch |
4 |
Log: |
5 |
Set CC=mpicc when building with mpi enabled (bug #286353), added --enabled-shared which was disabled with mpi enabled (bug #287124), and added slashes in destdir patch |
6 |
(Portage version: 2.2_rc42/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 sci-libs/hdf5/files/hdf5-1.8.3-destdir.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/hdf5/files/hdf5-1.8.3-destdir.patch?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/hdf5/files/hdf5-1.8.3-destdir.patch?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/hdf5/files/hdf5-1.8.3-destdir.patch?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: hdf5-1.8.3-destdir.patch |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/hdf5/files/hdf5-1.8.3-destdir.patch,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- hdf5-1.8.3-destdir.patch 18 Aug 2009 21:14:37 -0000 1.1 |
22 |
+++ hdf5-1.8.3-destdir.patch 2 Oct 2009 16:09:26 -0000 1.2 |
23 |
@@ -5,7 +5,7 @@ |
24 |
# How to create EXAMPLEDIR if it doesn't already exist |
25 |
$(EXAMPLEDIR): |
26 |
- -$(top_srcdir)/bin/mkdirs $@ |
27 |
-+ -$(top_srcdir)/bin/mkdirs $(DESTDIR)$@ |
28 |
++ -$(top_srcdir)/bin/mkdirs $(DESTDIR)/$@ |
29 |
|
30 |
# Install and uninstall rules. We install the source files, not the |
31 |
# example programs themselves. |
32 |
@@ -14,15 +14,15 @@ |
33 |
@for f in X $(INSTALL_FILES); do \ |
34 |
if test $$f != X; then \ |
35 |
- (set -x; $(INSTALL) $(srcdir)/$$f $(EXAMPLEDIR)/. || exit 1);\ |
36 |
-+ (set -x; $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(EXAMPLEDIR)/. || exit 1);\ |
37 |
++ (set -x; $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)/$(EXAMPLEDIR)/. || exit 1);\ |
38 |
fi; \ |
39 |
done |
40 |
|
41 |
uninstall-examples: |
42 |
- @if test -n "$(INSTALL_FILES)" -a -d $(EXAMPLEDIR); then \ |
43 |
- set -x; cd $(EXAMPLEDIR) && $(RM) $(INSTALL_FILES); \ |
44 |
-+ @if test -n "$(INSTALL_FILES)" -a -d $(DESTDIR)$(EXAMPLEDIR); then \ |
45 |
-+ set -x; cd $(DESTDIR)$(EXAMPLEDIR) && $(RM) $(INSTALL_FILES); \ |
46 |
++ @if test -n "$(INSTALL_FILES)" -a -d $(DESTDIR)/$(EXAMPLEDIR); then \ |
47 |
++ set -x; cd $(DESTDIR)/$(EXAMPLEDIR) && $(RM) $(INSTALL_FILES); \ |
48 |
fi |
49 |
|
50 |
installcheck-local: |