a861147b8d089ce3fbac6b557b95181b7ee5a0a0
[pkgsrc.git] / editors / emacs-snapshot / patches / patch-ac
1 $NetBSD: patch-ac,v 1.2 2010/01/18 19:34:20 minskim Exp $
2
3 --- Makefile.in.orig    2009-12-14 19:02:43.000000000 -0800
4 +++ Makefile.in
5 @@ -141,7 +141,7 @@ MAN_PAGES=b2m.1 ctags.1 ebrowse.1 emacs.
6  infodir=@infodir@
7  INFO_FILES=ada-mode auth autotype calc ccmode cl dbus dired-x ebrowse  \
8             ede ediff edt eieio efaq eintr elisp emacs emacs-mime epa erc \
9 -          eshell eudc flymake forms gnus idlwave info mairix-el        \
10 +          eshell eudc flymake forms gnus idlwave mairix-el     \
11            message mh-e newsticker nxml-mode org pcl-cvs pgg rcirc      \
12            reftex remember sasl sc semantic ses sieve smtpmail speedbar \
13            tramp url vip viper widget woman
14 @@ -403,7 +403,7 @@ $(srcdir)/src/stamp-h.in: $(AUTOCONF_INP
15  install: all install-arch-indep install-arch-dep install-leim blessmail
16         @true
17  
18 -MV_DIRS = for i in $$dir; do rm -fr `basename "$$i"` ; mv "$$i" . ; done
19 +MV_DIRS = for i in $$dir; do if test -e $$i ; then rm -fr `basename "$$i"` ; mv "$$i" . ; fi; done
20  
21  ### Install the executables that were compiled specifically for this machine.
22  ### It would be nice to do something for a parallel make
23 @@ -574,21 +574,11 @@ install-arch-indep: mkdir info install-e
24               test "$(MAKEINFO)" = "off" && ! test -e $$elt && continue; \
25               for f in `ls $$elt $$elt-[1-9] $$elt-[1-9][0-9] 2>/dev/null`; do \
26                 ${INSTALL_DATA} $$f $(DESTDIR)${infodir}/$$f; \
27 -               chmod a+r $(DESTDIR)${infodir}/$$f; \
28               done; \
29            done); \
30         else true; fi
31         -unset CDPATH; \
32 -       thisdir=`/bin/pwd`; \
33 -       if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd $(DESTDIR)${infodir} && /bin/pwd)` ]; \
34 -       then \
35 -         for elt in $(INFO_FILES); do \
36 -           test "$(MAKEINFO)" = "off" && ! test -e $$elt && continue; \
37 -           (cd $${thisdir}; \
38 -            ${INSTALL_INFO} --info-dir=$(DESTDIR)${infodir} $(DESTDIR)${infodir}/$$elt); \
39 -         done; \
40 -       else true; fi
41 -       -chmod -R a+r $(DESTDIR)${datadir}/emacs/${version} ${COPYDESTS}
42 +       chmod -R a+r $(DESTDIR)${datadir}/emacs/${version} ${COPYDESTS}
43         thisdir=`/bin/pwd`; \
44         cd ${mansrcdir}; \
45         for page in ${MAN_PAGES}; do \