summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2006-11-18 10:36:47 +0000
committerTiziano Müller <dev-zero@gentoo.org>2006-11-18 10:36:47 +0000
commit2eaed34e7f85db85e766fc1dceccd92feaad4c97 (patch)
tree4059ebc0749d461914aa507cfc206288cf37b9cb /dev-cpp/libebt/libebt-1.3.0.ebuild
parentAdding missing libpcre dep wrt bug #155553 (diff)
downloadhistorical-2eaed34e7f85db85e766fc1dceccd92feaad4c97.tar.gz
historical-2eaed34e7f85db85e766fc1dceccd92feaad4c97.tar.bz2
historical-2eaed34e7f85db85e766fc1dceccd92feaad4c97.zip
Added as-needed patch, bug #155462 thanks to drizzt. Added 'test' USE-flag to track boost-dependency for testing. Dropped old versions.
Package-Manager: portage-2.1.2_rc1-r5
Diffstat (limited to 'dev-cpp/libebt/libebt-1.3.0.ebuild')
-rw-r--r--dev-cpp/libebt/libebt-1.3.0.ebuild22
1 files changed, 18 insertions, 4 deletions
diff --git a/dev-cpp/libebt/libebt-1.3.0.ebuild b/dev-cpp/libebt/libebt-1.3.0.ebuild
index 05e63e64ccce..bd452fc55b4f 100644
--- a/dev-cpp/libebt/libebt-1.3.0.ebuild
+++ b/dev-cpp/libebt/libebt-1.3.0.ebuild
@@ -1,6 +1,11 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libebt/libebt-1.3.0.ebuild,v 1.1 2006/01/26 13:15:49 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libebt/libebt-1.3.0.ebuild,v 1.2 2006/11/18 10:36:47 dev-zero Exp $
+
+WANT_AUTOMAKE="latest"
+WANT_AUTOCONF="latest"
+
+inherit autotools eutils
DESCRIPTION="A pure C++ template library that provides a clean way of getting human-readable backtrace messages."
HOMEPAGE="http://libebt.berlios.de/"
@@ -10,11 +15,20 @@ RESTRICT="primaryuri"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86"
-IUSE="doc"
+IUSE="doc test"
-DEPEND="doc? ( app-doc/doxygen )"
+DEPEND="doc? ( app-doc/doxygen )
+ test? ( dev-libs/boost )"
RDEPEND=""
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-as-needed.patch"
+ AT_M4DIR=m4
+ eautoreconf
+}
+
src_compile() {
econf || die "econf failed"
emake || die "emake failed"
@@ -22,7 +36,7 @@ src_compile() {
}
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
+ emake DESTDIR="${D}" install || die "make install failed"
dodoc ChangeLog README
use doc && dohtml -r doc/html/*
}