summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2014-02-21 08:05:48 +0100
committerUlrich Müller <ulm@gentoo.org>2014-02-21 08:05:48 +0100
commit7bb18cadfbfa18a39b5ff8d6bc6cd151439dbc53 (patch)
treeaa437b397fabc309e264f3d5c532ffebdba0949d /app-emacs
parentUpdate ebuild to EAPI 5. Specify LICENSE more precisely. Remove old. (diff)
downloademacs-7bb18cadfbfa18a39b5ff8d6bc6cd151439dbc53.tar.gz
emacs-7bb18cadfbfa18a39b5ff8d6bc6cd151439dbc53.tar.bz2
emacs-7bb18cadfbfa18a39b5ff8d6bc6cd151439dbc53.zip
Add missing dependencies on app-emacs/bbdb and app-emacs/chess.
Package-Manager: portage-2.2.8-r1
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/erc-extras/ChangeLog4
-rw-r--r--app-emacs/erc-extras/erc-extras-5.3.ebuild11
-rw-r--r--app-emacs/erc-extras/metadata.xml4
3 files changed, 17 insertions, 2 deletions
diff --git a/app-emacs/erc-extras/ChangeLog b/app-emacs/erc-extras/ChangeLog
index fa2fe5f..3ad8d6c 100644
--- a/app-emacs/erc-extras/ChangeLog
+++ b/app-emacs/erc-extras/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 21 Feb 2014; Ulrich Müller <ulm@gentoo.org> erc-extras-5.3.ebuild,
+ metadata.xml:
+ Add missing dependencies on app-emacs/bbdb and app-emacs/chess.
+
*erc-extras-5.3 (20 Feb 2014)
20 Feb 2014; Ulrich Müller <ulm@gentoo.org> +erc-extras-5.3.ebuild,
diff --git a/app-emacs/erc-extras/erc-extras-5.3.ebuild b/app-emacs/erc-extras/erc-extras-5.3.ebuild
index e49bfa6..f33b604 100644
--- a/app-emacs/erc-extras/erc-extras-5.3.ebuild
+++ b/app-emacs/erc-extras/erc-extras-5.3.ebuild
@@ -14,14 +14,21 @@ SRC_URI="http://ftp.gnu.org/old-gnu/erc/${MY_P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+IUSE="bbdb chess"
+
+DEPEND="bbdb? ( app-emacs/bbdb )
+ chess? ( app-emacs/chess )"
+RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
SITEFILE="50${PN}-gentoo.el"
DOCS="README.extras"
-src_compile() {
+src_prepare() {
+ use bbdb || rm erc-bbdb.el || die
+ use chess || rm erc-chess.el || die
# erc-speak fails byte-compilation, cannot open emacspeak
- elisp-compile erc-{bbdb,chess,list-old,nicklist}.el
+ rm erc-speak.el || die
}
src_install() {
diff --git a/app-emacs/erc-extras/metadata.xml b/app-emacs/erc-extras/metadata.xml
index bc306fe..444e2ce 100644
--- a/app-emacs/erc-extras/metadata.xml
+++ b/app-emacs/erc-extras/metadata.xml
@@ -2,4 +2,8 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>emacs</herd>
+<use>
+ <flag name='bbdb'>Include support for <pkg>app-emacs/bbdb</pkg></flag>
+ <flag name='chess'>Include support for <pkg>app-emacs/chess</pkg></flag>
+</use>
</pkgmetadata>