diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-10-13 22:15:44 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-10-13 22:15:44 +0000 |
commit | 02344d99cdcc1bac1b12d5bc7d545a5dbd2fca35 (patch) | |
tree | 5fbaa2f63872d72b67fb7fc7902292de80fb147e /dev-lang/idb | |
parent | Fixed emacs site file and emacs file installation, thanks to ulm, closing bug... (diff) | |
download | gentoo-2-02344d99cdcc1bac1b12d5bc7d545a5dbd2fca35.tar.gz gentoo-2-02344d99cdcc1bac1b12d5bc7d545a5dbd2fca35.tar.bz2 gentoo-2-02344d99cdcc1bac1b12d5bc7d545a5dbd2fca35.zip |
Fixed emacs site file installation, thanks to ulm, closing bug #241594.
(Portage version: 2.2_rc11/cvs/Linux 2.6.25-gentoo-r7 x86_64)
Diffstat (limited to 'dev-lang/idb')
-rw-r--r-- | dev-lang/idb/ChangeLog | 6 | ||||
-rw-r--r-- | dev-lang/idb/files/50idb-gentoo.el | 5 | ||||
-rw-r--r-- | dev-lang/idb/idb-10.1.018.ebuild | 11 |
3 files changed, 17 insertions, 5 deletions
diff --git a/dev-lang/idb/ChangeLog b/dev-lang/idb/ChangeLog index 4d396def20c0..d04bd8287a57 100644 --- a/dev-lang/idb/ChangeLog +++ b/dev-lang/idb/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-lang/idb # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/idb/ChangeLog,v 1.12 2008/09/02 09:45:52 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/idb/ChangeLog,v 1.13 2008/10/13 22:15:44 bicatali Exp $ + + 13 Oct 2008; Sébastien Fabbro <bicatali@gentoo.org> + +files/50idb-gentoo.el, idb-10.1.018.ebuild: + Fixed emacs site file installation, thanks to ulm, closing bug #241594. *idb-10.1.018 (02 Sep 2008) diff --git a/dev-lang/idb/files/50idb-gentoo.el b/dev-lang/idb/files/50idb-gentoo.el new file mode 100644 index 000000000000..55064c63a99d --- /dev/null +++ b/dev-lang/idb/files/50idb-gentoo.el @@ -0,0 +1,5 @@ + +;;; idb site-lisp configuration + +(add-to-list 'load-path "@SITELISP@") +(autoload 'idb "idb" "Run idb on program <FILE> in buffer *gud-<FILE>*." t) diff --git a/dev-lang/idb/idb-10.1.018.ebuild b/dev-lang/idb/idb-10.1.018.ebuild index 4fe87b16104a..8e8bac279906 100644 --- a/dev-lang/idb/idb-10.1.018.ebuild +++ b/dev-lang/idb/idb-10.1.018.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/idb/idb-10.1.018.ebuild,v 1.1 2008/09/02 09:45:52 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/idb/idb-10.1.018.ebuild,v 1.2 2008/10/13 22:15:44 bicatali Exp $ inherit rpm elisp-common @@ -33,7 +33,8 @@ DEPEND="" RDEPEND="virtual/libstdc++ x11-libs/libXft x11-libs/libXt - dev-libs/libxml2" + dev-libs/libxml2 + emacs? ( virtual/emacs )" src_unpack() { unpack ${A} @@ -68,8 +69,10 @@ src_install() { MANPATH=${instdir}/man EOF doenvd 06idb || die "installing env file failed" - use emacs && \ - elisp-site-file-install "${S}"${instdir}/bin/*.el + if use emacs; then + elisp-install ${PN} "${S}"${instdir}/bin/*.el || die + elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el || die + fi } pkg_postinst () { |