diff options
author | Ulrich Müller <ulm@gentoo.org> | 2008-02-22 09:28:53 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2008-02-22 09:28:53 +0000 |
commit | cca13bf4f405b8c3c9b657cb300d17bb480f3663 (patch) | |
tree | 74949acc4196c8666fc3175db5241e102912efa8 /eclass/elisp-common.eclass | |
parent | app-emacs/cdrw removal, bug 207133 (diff) | |
download | historical-cca13bf4f405b8c3c9b657cb300d17bb480f3663.tar.gz historical-cca13bf4f405b8c3c9b657cb300d17bb480f3663.tar.bz2 historical-cca13bf4f405b8c3c9b657cb300d17bb480f3663.zip |
Sync eclasses from Emacs overlay (revision 967).
elisp-common.eclass:
Enable warning message about obsolete files.
Diffstat (limited to 'eclass/elisp-common.eclass')
-rw-r--r-- | eclass/elisp-common.eclass | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass index a498f8e26c21..4d7ec2b01d40 100644 --- a/eclass/elisp-common.eclass +++ b/eclass/elisp-common.eclass @@ -1,12 +1,12 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.34 2007/12/28 17:48:34 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.35 2008/02/22 09:28:53 ulm Exp $ # # Copyright 2002-2004 Matthew Kennedy <mkennedy@gentoo.org> -# Copyright 2003 Jeremy Maitin-Shepard <jbms@attbi.com> +# Copyright 2003 Jeremy Maitin-Shepard <jbms@attbi.com> # Copyright 2004-2005 Mamoru Komachi <usata@gentoo.org> -# Copyright 2007 Christian Faulhammer <opfer@gentoo.org> -# Copyright 2007 Ulrich Mueller <ulm@gentoo.org> +# Copyright 2007-2008 Christian Faulhammer <opfer@gentoo.org> +# Copyright 2007-2008 Ulrich Müller <ulm@gentoo.org> # # @ECLASS: elisp-common.eclass # @MAINTAINER: @@ -384,6 +384,16 @@ for greater flexibility, users can load individual package-specific initialisation files from /usr/share/emacs/site-lisp/site-gentoo.d/. EOF echo + + if [ "${obsolete}" ]; then + while read line; do ewarn "${line}"; done <<-EOF + Site-initialisation files of Emacs packages are now installed in + /usr/share/emacs/site-lisp/site-gentoo.d/. You may consider using + /usr/sbin/emacs-updater to rebuild the installed Emacs packages. + However, the old location is still supported. + EOF + echo + fi fi # Kludge for backwards compatibility: During pkg_postrm, old versions @@ -394,14 +404,4 @@ EOF [ "${sf%/*}" = "${ROOT}${SITELISP}/site-gentoo.d" ] \ && cat "${sf}" >>"${ROOT}${SITELISP}"/00site-gentoo.el done - -# if [ "${obsolete}" ]; then -# while read line; do ewarn "${line}"; done <<-EOF -# Site-initialisation files of Emacs packages are now installed in -# /usr/share/emacs/site-lisp/site-gentoo.d/. You may consider using -# /usr/sbin/emacs-updater to rebuild the installed Emacs packages. -# However, the old location is still supported. -# EOF -# echo -# fi } |