summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2010-07-14 11:19:26 +0000
committerChristian Faulhammer <fauli@gentoo.org>2010-07-14 11:19:26 +0000
commit41edfd1d3460f70ea22abe04036f584c4bfac312 (patch)
tree520b9d15f687826540e78f714cb403cba291f35f /app-office/ledger
parentSkip BerkDB sanity check resulting in AC_MSG_ERROR with 5.0 wrt #319951 by Di... (diff)
downloadgentoo-2-41edfd1d3460f70ea22abe04036f584c4bfac312.tar.gz
gentoo-2-41edfd1d3460f70ea22abe04036f584c4bfac312.tar.bz2
gentoo-2-41edfd1d3460f70ea22abe04036f584c4bfac312.zip
fix automagic detection of Emacs flavours for disabled emacs USE flag
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'app-office/ledger')
-rw-r--r--app-office/ledger/ChangeLog5
-rw-r--r--app-office/ledger/ledger-2.6.3.ebuild9
2 files changed, 10 insertions, 4 deletions
diff --git a/app-office/ledger/ChangeLog b/app-office/ledger/ChangeLog
index 3be2eaec29ab..96bf4e0d5101 100644
--- a/app-office/ledger/ChangeLog
+++ b/app-office/ledger/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-office/ledger
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/ledger/ChangeLog,v 1.17 2010/07/08 14:50:58 vostorga Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/ledger/ChangeLog,v 1.18 2010/07/14 11:19:26 fauli Exp $
+
+ 14 Jul 2010; Christian Faulhammer <fauli@gentoo.org> ledger-2.6.3.ebuild:
+ fix automagic detection of Emacs flavours for disabled emacs USE flag
*ledger-2.6.3 (08 Jul 2010)
diff --git a/app-office/ledger/ledger-2.6.3.ebuild b/app-office/ledger/ledger-2.6.3.ebuild
index ef1ef81b23f8..7af450a6881a 100644
--- a/app-office/ledger/ledger-2.6.3.ebuild
+++ b/app-office/ledger/ledger-2.6.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/ledger/ledger-2.6.3.ebuild,v 1.1 2010/07/08 14:50:58 vostorga Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/ledger/ledger-2.6.3.ebuild,v 1.2 2010/07/14 11:19:26 fauli Exp $
EAPI=3
@@ -31,6 +31,9 @@ src_prepare() {
}
src_configure() {
+ # Autodetection of dependencies may fail in the case of:
+ # USE=emacs disabled, app-editors/emacs not installed, app-editors/xemacs installed
+ use emacs || export EMACS=no
econf \
$(use_enable xml) \
$(use_enable ofx) \
@@ -46,14 +49,14 @@ src_install() {
insinto /usr/share/${P}
doins scripts/entry scripts/getquote scripts/bal scripts/bal-huquq || die
- einstall || die "Installation failed!"
+ einstall || die
# Remove timeclock since it is part of Emacs
rm -f "${ED}${SITELISP}/${PN}"/timeclock.*
if use emacs; then
elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
- || die "elisp-site-file-install failed"
+ || die
fi
if use gnuplot; then