summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-04-11 09:57:36 +0200
committerUlrich Müller <ulm@gentoo.org>2022-04-11 09:57:59 +0200
commitef9e5808121efc9c006fa112555f883d69fed55d (patch)
tree726edb68d2adfc2b25a4dd66482d14566e9b517b /app-emacs
parentdev-python/liblarch: Remove old (diff)
downloadgentoo-ef9e5808121efc9c006fa112555f883d69fed55d.tar.gz
gentoo-ef9e5808121efc9c006fa112555f883d69fed55d.tar.bz2
gentoo-ef9e5808121efc9c006fa112555f883d69fed55d.zip
app-emacs/bbdb: Build PDF documentation only with USE=doc
Closes: https://bugs.gentoo.org/837758 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/bbdb/bbdb-3.2.2a-r1.ebuild (renamed from app-emacs/bbdb/bbdb-3.2.2a.ebuild)14
1 files changed, 7 insertions, 7 deletions
diff --git a/app-emacs/bbdb/bbdb-3.2.2a.ebuild b/app-emacs/bbdb/bbdb-3.2.2a-r1.ebuild
index 0f368e4332bb..25ffb5ede6b0 100644
--- a/app-emacs/bbdb/bbdb-3.2.2a.ebuild
+++ b/app-emacs/bbdb/bbdb-3.2.2a-r1.ebuild
@@ -13,15 +13,15 @@ SRC_URI="https://git.savannah.nongnu.org/cgit/bbdb.git/snapshot/${P}.tar.gz"
LICENSE="GPL-3+ FDL-1.3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
-IUSE="tex vm wanderlust"
+IUSE="doc tex vm wanderlust"
RESTRICT="test" #631700
-DEPEND="vm? ( app-emacs/vm )
+RDEPEND="vm? ( app-emacs/vm )
wanderlust? ( app-emacs/wanderlust )"
-RDEPEND="${DEPEND}
- tex? ( virtual/latex-base )"
+DEPEND="${RDEPEND}"
BDEPEND="sys-apps/texinfo
- tex? ( virtual/texi2dvi )"
+ doc? ( virtual/texi2dvi )"
+IDEPEND="tex? ( virtual/latex-base )"
SITEFILE="50${PN}-gentoo-3.2.el"
TEXMF="/usr/share/texmf-site"
@@ -40,12 +40,12 @@ src_configure() {
src_compile() {
emake -C lisp
- emake -C doc
+ emake -C doc info $(usev doc pdf)
}
src_install() {
emake -C lisp DESTDIR="${D}" install
- emake -C doc DESTDIR="${D}" install
+ emake -C doc DESTDIR="${D}" install-info $(usev doc install-pdf)
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
dodoc AUTHORS ChangeLog NEWS README TODO