summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-08-28 17:25:30 +0000
committerUlrich Müller <ulm@gentoo.org>2008-08-28 17:25:30 +0000
commitf1fe7ace78ae58933df65b1d7c3f85842b549344 (patch)
tree0a5bf21a9b05fbc938c1ef48e043ad88eccf3b65 /dev-lisp/cl-mcclim/cl-mcclim-0.9.2-r1.ebuild
parentStable on sparc, bug #234777 (diff)
downloadgentoo-2-f1fe7ace78ae58933df65b1d7c3f85842b549344.tar.gz
gentoo-2-f1fe7ace78ae58933df65b1d7c3f85842b549344.tar.bz2
gentoo-2-f1fe7ace78ae58933df65b1d7c3f85842b549344.zip
Use elisp-compile instead of elisp-comp, bug 235615.
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 i686)
Diffstat (limited to 'dev-lisp/cl-mcclim/cl-mcclim-0.9.2-r1.ebuild')
-rw-r--r--dev-lisp/cl-mcclim/cl-mcclim-0.9.2-r1.ebuild15
1 files changed, 9 insertions, 6 deletions
diff --git a/dev-lisp/cl-mcclim/cl-mcclim-0.9.2-r1.ebuild b/dev-lisp/cl-mcclim/cl-mcclim-0.9.2-r1.ebuild
index 453097df8bbe..8a6a6f14224a 100644
--- a/dev-lisp/cl-mcclim/cl-mcclim-0.9.2-r1.ebuild
+++ b/dev-lisp/cl-mcclim/cl-mcclim-0.9.2-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-mcclim/cl-mcclim-0.9.2-r1.ebuild,v 1.5 2007/10/27 10:18:05 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-mcclim/cl-mcclim-0.9.2-r1.ebuild,v 1.6 2008/08/28 17:25:30 ulm Exp $
inherit common-lisp elisp-common eutils
@@ -36,7 +36,9 @@ src_unpack() {
src_compile() {
addwrite /var/cache/fonts/
use doc && make -C Doc manual.ps
- use emacs && cp ${ELISP_SOURCES} . && elisp-comp *.el
+ if use emacs; then
+ elisp-compile ${ELISP_SOURCES} || die "elisp-compile failed"
+ fi
}
src_install() {
@@ -55,9 +57,10 @@ src_install() {
dodoc INSTALL* README TODO Copyright ReleaseNotes/* Webpage/clim-paper.pdf
use doc && dodoc Doc/manual.ps
if use emacs; then
- insinto /usr/share/emacs/site-lisp/${PN}
- elisp-install ${PN} *.el *.elc || die "elisp-install failed"
- elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ elisp-install ${PN} ${ELISP_SOURCES} ${ELISP_SOURCES//.el/.elc} \
+ || die "elisp-install failed"
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
+ || die "elisp-site-file-install failed"
fi
}