emacs-24.2.90-locallisppath.patch 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. diff -du emacs-24.2.90/Makefile.in.orig emacs-24.2.90/Makefile.in
  2. --- emacs-24.2.90/Makefile.in.orig 2012-11-02 09:38:28.000000000 +0900
  3. +++ emacs-24.2.90/Makefile.in 2012-11-25 17:29:49.984788611 +0900
  4. @@ -551,7 +551,7 @@
  5. ${INSTALL_DATA} leim/leim-list.el $(DESTDIR)${leimdir}/leim-list.el
  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. @@ -566,7 +566,7 @@
  14. ${GZIP_PROG} -9n `echo $$f|sed 's/.elc$$/.el/'` ; \
  15. done ; \
  16. done )
  17. - -chmod -R a+r $(DESTDIR)${datadir}/emacs/${version} ${COPYDESTS}
  18. + -chmod -R a+r $(DESTDIR)${datadir}/emacs-${version} ${COPYDESTS}
  19. # The last chmod isn't needed at present.
  20. Diff finished. Sun Nov 25 17:30:06 2012
  21. diff -du emacs-24.2.90/configure.ac.orig emacs-24.2.90/configure.ac
  22. --- emacs-24.2.90/configure.ac.orig 2013-01-10 11:38:02.000000000 +0900
  23. +++ emacs-24.2.90/configure.ac 2013-01-22 14:35:55.602083208 +0900
  24. @@ -40,7 +40,7 @@ dnl See also epaths.h below.
  25. lispdir='${datadir}/emacs/${version}/lisp'
  26. leimdir='${datadir}/emacs/${version}/leim'
  27. standardlisppath='${lispdir}:${leimdir}'
  28. -locallisppath='${datadir}/emacs/${version}/site-lisp:'\
  29. +locallisppath='${datadir}/emacs-${version}/site-lisp:'\
  30. '${datadir}/emacs/site-lisp'
  31. lisppath='${locallisppath}:${standardlisppath}'
  32. etcdir='${datadir}/emacs/${version}/etc'