emacs-24.3.90-locallisppath.patch 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. diff -du emacs-24.3.90/Makefile.in\~ emacs-24.3.90/Makefile.in
  2. --- emacs-24.3.90/Makefile.in~ 2014-03-21 14:34:40.000000000 +0900
  3. +++ emacs-24.3.90/Makefile.in 2014-04-27 08:12:30.917380026 +0900
  4. @@ -608,7 +608,7 @@
  5. done
  6. -rm -f "$(DESTDIR)${lispdir}/subdirs.el"
  7. umask 022; $(srcdir)/build-aux/update-subdirs "$(DESTDIR)${lispdir}"
  8. - subdir="$(DESTDIR)${datadir}/emacs/${version}/site-lisp" ; \
  9. + subdir="$(DESTDIR)${datadir}/emacs-${version}/site-lisp" ; \
  10. ${write_subdir}
  11. subdir="$(DESTDIR)${datadir}/emacs/site-lisp" ; \
  12. ${write_subdir} || true
  13. @@ -618,7 +618,7 @@
  14. find . -name '*.elc' -exec $(SHELL) -c \
  15. '${GZIP_PROG} -9n `expr "$$1" : "\\(.*\\)c"`' dummy '{}' ';'; \
  16. }
  17. - -chmod -R a+r "$(DESTDIR)${datadir}/emacs/${version}" ${COPYDESTS}
  18. + -chmod -R a+r "$(DESTDIR)${datadir}/emacs-${version}" ${COPYDESTS}
  19. ## The above chmods are needed because "umask 022; tar ..." is not
  20. ## guaranteed to do the right thing; eg if we are root and tar is
  21. Diff finished. Sun Apr 27 08:12:36 2014
  22. diff -du emacs-24.3.90/configure.ac\~ emacs-24.3.90/configure.ac
  23. --- emacs-24.3.90/configure.ac~ 2014-04-11 14:50:45.000000000 +0900
  24. +++ emacs-24.3.90/configure.ac 2014-04-27 08:07:35.752671697 +0900
  25. @@ -111,7 +111,7 @@
  26. dnl See also epaths.h below.
  27. lispdir='${datadir}/emacs/${version}/lisp'
  28. standardlisppath='${lispdir}'
  29. -locallisppath='${datadir}/emacs/${version}/site-lisp:'\
  30. +locallisppath='${datadir}/emacs-${version}/site-lisp:'\
  31. '${datadir}/emacs/site-lisp'
  32. lisppath='${locallisppath}:${standardlisppath}'
  33. etcdir='${datadir}/emacs/${version}/etc'
  34. Diff finished. Sun Apr 27 08:08:36 2014