summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-emacs/mu-cite/metadata.xml3
-rw-r--r--app-emacs/mu-cite/mu-cite-8.1_p201808232348.ebuild14
2 files changed, 13 insertions, 4 deletions
diff --git a/app-emacs/mu-cite/metadata.xml b/app-emacs/mu-cite/metadata.xml
index c59c7fc25206..eea0cf345971 100644
--- a/app-emacs/mu-cite/metadata.xml
+++ b/app-emacs/mu-cite/metadata.xml
@@ -10,4 +10,7 @@
<name>Cjk</name>
</maintainer>
<stabilize-allarches/>
+<use>
+ <flag name="bbdb">Include support for <pkg>app-emacs/bbdb</pkg></flag>
+</use>
</pkgmetadata>
diff --git a/app-emacs/mu-cite/mu-cite-8.1_p201808232348.ebuild b/app-emacs/mu-cite/mu-cite-8.1_p201808232348.ebuild
index 89d2e17bf686..b27d88c3a9c4 100644
--- a/app-emacs/mu-cite/mu-cite-8.1_p201808232348.ebuild
+++ b/app-emacs/mu-cite/mu-cite-8.1_p201808232348.ebuild
@@ -7,18 +7,24 @@ inherit elisp
MY_P="${PN}-${PV#*_p}"
DESCRIPTION="Message citation utilities for emacsen"
-HOMEPAGE="http://www.jpl.org/elips/mu/"
-SRC_URI="http://www.jpl.org/elips/mu/snapshots/${MY_P}.tar.gz"
+HOMEPAGE="https://www.jpl.org/elips/mu/"
+SRC_URI="https://www.jpl.org/elips/mu/snapshots/${MY_P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+IUSE="bbdb"
RDEPEND="app-emacs/apel
- app-emacs/flim"
+ app-emacs/flim
+ bbdb? ( app-emacs/bbdb )"
DEPEND="${RDEPEND}"
+S="${WORKDIR}/${MY_P}"
SITEFILE="50${PN}-gentoo.el"
DOCS="ChangeLog NEWS README.en"
-S="${WORKDIR}/${MY_P}"
+src_prepare() {
+ elisp_src_prepare
+ use bbdb || rm mu-bbdb.el || die
+}