From cca13bf4f405b8c3c9b657cb300d17bb480f3663 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ulrich=20M=C3=BCller?= Date: Fri, 22 Feb 2008 09:28:53 +0000 Subject: [PATCH] Sync eclasses from Emacs overlay (revision 967). elisp-common.eclass: Enable warning message about obsolete files. --- eclass/elisp-common.eclass | 28 ++++++++++++++-------------- 1 file 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 -# Copyright 2003 Jeremy Maitin-Shepard +# Copyright 2003 Jeremy Maitin-Shepard # Copyright 2004-2005 Mamoru Komachi -# Copyright 2007 Christian Faulhammer -# Copyright 2007 Ulrich Mueller +# Copyright 2007-2008 Christian Faulhammer +# Copyright 2007-2008 Ulrich Müller # # @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 } -- 2.26.2