summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2012-08-24 18:40:14 +0000
committerUlrich Müller <ulm@gentoo.org>2012-08-24 18:40:14 +0000
commita2710799c4b126dfdc4161a98637d171492918c2 (patch)
tree2025f4b999f26ba7821af427bc6c547b55bf0b21
parentMoved to Portage tree. (diff)
downloademacs-a2710799c4b126dfdc4161a98637d171492918c2.tar.gz
emacs-a2710799c4b126dfdc4161a98637d171492918c2.tar.bz2
emacs-a2710799c4b126dfdc4161a98637d171492918c2.zip
Suppress warning for initial installation.
svn path=/emacs-overlay/; revision=1822
-rw-r--r--eclass/ChangeLog3
-rw-r--r--eclass/elisp-common.eclass3
2 files changed, 5 insertions, 1 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 3d0e0e1..9490af6 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -740,6 +740,9 @@
Copyright 2002-2012 Gentoo Foundation
Distributed under the terms of the GNU General Public License v2
+ 24 Aug 2012; Ulrich Müller <ulm@gentoo.org> elisp-common.eclass:
+ Suppress warning for initial installation.
+
18 Jul 2012; Ulrich Müller <ulm@gentoo.org> elisp-common.eclass:
Sync from Portage tree: Make use of the @ROFF token in documentation.
diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass
index 4e9daff..19bdcba 100644
--- a/eclass/elisp-common.eclass
+++ b/eclass/elisp-common.eclass
@@ -386,7 +386,8 @@ elisp-site-regen() {
mv "${T}"/site-gentoo.el "${sitelisp}"/site-gentoo.el
eend
case ${#sflist[@]} in
- 0) ewarn "... Huh? No site initialisation files found." ;;
+ 0) [[ ${PN} = emacs-common-gentoo ]] \
+ || ewarn "... Huh? No site initialisation files found." ;;
1) einfo "... ${#sflist[@]} site initialisation file included." ;;
*) einfo "... ${#sflist[@]} site initialisation files included." ;;
esac