summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2007-12-01 15:49:17 +0000
committerUlrich Müller <ulm@gentoo.org>2007-12-01 15:49:17 +0000
commitec8108f955d76eef45c20b00b7977d083e906070 (patch)
treee35c804962ab36e225345cf65f8cf42c5b2d2495 /app-emacs/nxml-mode
parentAdded an upstream patch to fix some login issues. Fixes bug 200856. (diff)
downloadgentoo-2-ec8108f955d76eef45c20b00b7977d083e906070.tar.gz
gentoo-2-ec8108f955d76eef45c20b00b7977d083e906070.tar.bz2
gentoo-2-ec8108f955d76eef45c20b00b7977d083e906070.zip
Use SITEETC eclass variable.
(Portage version: 2.1.4_rc4)
Diffstat (limited to 'app-emacs/nxml-mode')
-rw-r--r--app-emacs/nxml-mode/ChangeLog6
-rw-r--r--app-emacs/nxml-mode/files/50nxml-mode-gentoo.el4
-rw-r--r--app-emacs/nxml-mode/nxml-mode-20041004-r3.ebuild4
3 files changed, 9 insertions, 5 deletions
diff --git a/app-emacs/nxml-mode/ChangeLog b/app-emacs/nxml-mode/ChangeLog
index 283d62527544..a851790c10a2 100644
--- a/app-emacs/nxml-mode/ChangeLog
+++ b/app-emacs/nxml-mode/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-emacs/nxml-mode
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-mode/ChangeLog,v 1.27 2007/11/23 15:19:18 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-mode/ChangeLog,v 1.28 2007/12/01 15:49:17 ulm Exp $
+
+ 01 Dec 2007; Ulrich Mueller <ulm@gentoo.org> files/50nxml-mode-gentoo.el,
+ nxml-mode-20041004-r3.ebuild:
+ Use SITEETC eclass variable.
*nxml-mode-20041004-r3 (23 Nov 2007)
diff --git a/app-emacs/nxml-mode/files/50nxml-mode-gentoo.el b/app-emacs/nxml-mode/files/50nxml-mode-gentoo.el
index b3027dc62147..07114a4bc550 100644
--- a/app-emacs/nxml-mode/files/50nxml-mode-gentoo.el
+++ b/app-emacs/nxml-mode/files/50nxml-mode-gentoo.el
@@ -5,9 +5,9 @@
(load "rng-auto" nil t)
(setq rng-schema-locating-files-default
- '("schemas.xml" "/usr/share/emacs/etc/nxml-mode/schema/schemas.xml")
+ '("schemas.xml" "@SITEETC@/schema/schemas.xml")
rng-schema-locating-file-schema-file
- "/usr/share/emacs/etc/nxml-mode/schema/locate.rnc")
+ "@SITEETC@/schema/locate.rnc")
(add-to-list 'auto-mode-alist
'("\\.\\(xml\\|xsl\\|xsd\\|rng\\|xhtml\\)\\'" . nxml-mode))
diff --git a/app-emacs/nxml-mode/nxml-mode-20041004-r3.ebuild b/app-emacs/nxml-mode/nxml-mode-20041004-r3.ebuild
index 97323fd784bb..aa5aa0808c44 100644
--- a/app-emacs/nxml-mode/nxml-mode-20041004-r3.ebuild
+++ b/app-emacs/nxml-mode/nxml-mode-20041004-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-mode/nxml-mode-20041004-r3.ebuild,v 1.1 2007/11/23 15:19:18 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-mode/nxml-mode-20041004-r3.ebuild,v 1.2 2007/12/01 15:49:17 ulm Exp $
inherit elisp eutils
@@ -38,7 +38,7 @@ src_install() {
|| die "elisp-site-file-install failed"
insinto ${SITELISP}/${PN}
doins -r char-name || die "doins char-name failed"
- insinto /usr/share/emacs/etc/${PN}
+ insinto ${SITEETC}/${PN}
doins -r schema || die "doins schema failed"
doinfo nxml-mode.info
dodoc README VERSION TODO NEWS || die "dodoc failed"