summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2007-11-21 07:34:41 +0000
committerUlrich Müller <ulm@gentoo.org>2007-11-21 07:34:41 +0000
commita88404d316d7e3ffb1a95a1b968caabbaaae3c56 (patch)
tree263ae4845a7298a2b6ecabd07d74cb1973066ece /app-emacs/bbdb
parentold (diff)
downloadgentoo-2-a88404d316d7e3ffb1a95a1b968caabbaaae3c56.tar.gz
gentoo-2-a88404d316d7e3ffb1a95a1b968caabbaaae3c56.tar.bz2
gentoo-2-a88404d316d7e3ffb1a95a1b968caabbaaae3c56.zip
Add tex USE flag, bug #196745.
(Portage version: 2.1.3.19)
Diffstat (limited to 'app-emacs/bbdb')
-rw-r--r--app-emacs/bbdb/ChangeLog5
-rw-r--r--app-emacs/bbdb/bbdb-2.35.ebuild18
2 files changed, 17 insertions, 6 deletions
diff --git a/app-emacs/bbdb/ChangeLog b/app-emacs/bbdb/ChangeLog
index 4799f1e9772d..f08e547b37ad 100644
--- a/app-emacs/bbdb/ChangeLog
+++ b/app-emacs/bbdb/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-emacs/bbdb
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/bbdb/ChangeLog,v 1.29 2007/10/08 22:35:50 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/bbdb/ChangeLog,v 1.30 2007/11/21 07:34:41 ulm Exp $
+
+ 21 Nov 2007; Ulrich Mueller <ulm@gentoo.org> bbdb-2.35.ebuild:
+ Add tex USE flag, bug #196745. Keep tetex flag for a transition period.
08 Oct 2007; Christian Faulhammer <opfer@gentoo.org>
-files/bbdb-decode-header.diff, -bbdb-2.35_pre20040323-r1.ebuild:
diff --git a/app-emacs/bbdb/bbdb-2.35.ebuild b/app-emacs/bbdb/bbdb-2.35.ebuild
index b6d8925395ce..54baa729006c 100644
--- a/app-emacs/bbdb/bbdb-2.35.ebuild
+++ b/app-emacs/bbdb/bbdb-2.35.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/bbdb/bbdb-2.35.ebuild,v 1.8 2007/10/06 15:52:04 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/bbdb/bbdb-2.35.ebuild,v 1.9 2007/11/21 07:34:41 ulm Exp $
inherit elisp
@@ -13,10 +13,12 @@ SRC_URI="http://bbdb.sourceforge.net/${P}.tar.gz
LICENSE="GPL-2 as-is"
SLOT="0"
KEYWORDS="alpha amd64 ppc sparc x86"
-IUSE="tetex"
+IUSE="tex tetex"
DEPEND=""
+# We need plain TeX only, but there is no virtual/tex-base
RDEPEND="${DEPEND}
+ tex? ( virtual/latex-base )
tetex? ( virtual/tetex )"
SITEFILE=50${PN}-gentoo.el
@@ -50,7 +52,7 @@ src_install() {
doinfo texinfo/*.info*
dodoc ChangeLog INSTALL README bits/*.txt
newdoc bits/README README.bits
- if use tetex; then
+ if use tex || use tetex; then
insinto /usr/share/texmf/tex/bbdb
doins tex/*.tex
fi
@@ -58,7 +60,13 @@ src_install() {
pkg_postinst() {
elisp-site-regen
- use tetex && texconfig rehash
+ use tex || use tetex && texconfig rehash
+
+ if use tetex && ! use tex; then
+ ewarn "You have enabled the \"tetex\" USE flag which is obsolete and"
+ ewarn "will disappear soon. Please enable the \"tex\" local USE flag"
+ ewarn "for package ${CATEGORY}/${PN} instead."
+ fi
echo
elog "If you use encryption or signing, you may specify the encryption"
@@ -70,5 +78,5 @@ pkg_postinst() {
pkg_postrm() {
elisp-site-regen
- use tetex && texconfig rehash
+ use tex || use tetex && texconfig rehash
}