Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/emacs/23.2: 05_all_info-dir.patch
Date: Wed, 02 Feb 2011 17:27:10
Message-Id: 20110202172700.C9E8D20057@flycatcher.gentoo.org
1 ulm 11/02/02 17:27:00
2
3 Added: 05_all_info-dir.patch
4 Log:
5 Fix an issue with duplicate items in GNU Info directory.
6
7 Revision Changes Path
8 1.1 src/patchsets/emacs/23.2/05_all_info-dir.patch
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/emacs/23.2/05_all_info-dir.patch?rev=1.1&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/emacs/23.2/05_all_info-dir.patch?rev=1.1&content-type=text/plain
12
13 Index: 05_all_info-dir.patch
14 ===================================================================
15 http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7942
16
17 --- emacs-23.2-orig/Makefile.in
18 +++ emacs-23.2/Makefile.in
19 @@ -552,31 +552,26 @@
20 thisdir=`/bin/pwd`; \
21 if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd $(DESTDIR)${infodir} && /bin/pwd)` ]; \
22 then \
23 - (cd $(DESTDIR)${infodir}; \
24 - if [ -f dir ]; then true; \
25 - else \
26 - (cd $${thisdir}; \
27 - ${INSTALL_DATA} ${srcdir}/info/dir $(DESTDIR)${infodir}/dir; \
28 - chmod a+r $(DESTDIR)${infodir}/dir); \
29 - fi; \
30 - cd ${srcdir}/info ; \
31 + (cd ${srcdir}/info ; \
32 for elt in $(INFO_FILES); do \
33 test "$(MAKEINFO)" = "off" && ! test -e $$elt && continue; \
34 for f in `ls $$elt $$elt-[1-9] $$elt-[1-9][0-9] 2>/dev/null`; do \
35 ${INSTALL_DATA} $$f $(DESTDIR)${infodir}/$$f; \
36 chmod a+r $(DESTDIR)${infodir}/$$f; \
37 done; \
38 - done); \
39 - else true; fi
40 - -unset CDPATH; \
41 - thisdir=`/bin/pwd`; \
42 - if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd $(DESTDIR)${infodir} && /bin/pwd)` ]; \
43 - then \
44 - for elt in $(INFO_FILES); do \
45 - test "$(MAKEINFO)" = "off" && ! test -e $$elt && continue; \
46 - (cd $${thisdir}; \
47 - ${INSTALL_INFO} --info-dir=$(DESTDIR)${infodir} $(DESTDIR)${infodir}/$$elt); \
48 - done; \
49 + done; \
50 + cd $(DESTDIR)${infodir}; \
51 + if [ -f dir ]; then \
52 + for elt in $(INFO_FILES); do \
53 + test "$(MAKEINFO)" = "off" && ! test -e $$elt && continue; \
54 + (cd $${thisdir}; \
55 + ${INSTALL_INFO} --info-dir=$(DESTDIR)${infodir} $(DESTDIR)${infodir}/$$elt); \
56 + done; \
57 + else \
58 + (cd $${thisdir}; \
59 + ${INSTALL_DATA} ${srcdir}/info/dir $(DESTDIR)${infodir}/dir; \
60 + chmod a+r $(DESTDIR)${infodir}/dir); \
61 + fi); \
62 else true; fi
63 -chmod -R a+r $(DESTDIR)${datadir}/emacs/${version} ${COPYDESTS}
64 thisdir=`/bin/pwd`; \