summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-01-05 10:22:19 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-01-05 10:22:19 +0000
commit118fac521202283994d62e0736e8466e35d52149 (patch)
treefb644175b06fd8e62bf23f74a23aad0c5ef25524 /dev-cpp/clucene
parentTemporary fix - amule segfaults on startup with certain crypto++ versions bug... (diff)
downloadgentoo-2-118fac521202283994d62e0736e8466e35d52149.tar.gz
gentoo-2-118fac521202283994d62e0736e8466e35d52149.tar.bz2
gentoo-2-118fac521202283994d62e0736e8466e35d52149.zip
Fix maintainer mode called automake. Per bug #350100.
(Portage version: 2.2.0_alpha12/cvs/Linux x86_64)
Diffstat (limited to 'dev-cpp/clucene')
-rw-r--r--dev-cpp/clucene/ChangeLog8
-rw-r--r--dev-cpp/clucene/clucene-0.9.21b-r1.ebuild25
2 files changed, 23 insertions, 10 deletions
diff --git a/dev-cpp/clucene/ChangeLog b/dev-cpp/clucene/ChangeLog
index cf03fe4b3af0..f19bbe54939c 100644
--- a/dev-cpp/clucene/ChangeLog
+++ b/dev-cpp/clucene/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-cpp/clucene
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/clucene/ChangeLog,v 1.32 2010/12/03 10:41:24 grozin Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/clucene/ChangeLog,v 1.33 2011/01/05 10:22:19 scarabeus Exp $
+
+ 05 Jan 2011; Tomáš Chvátal <scarabeus@gentoo.org>
+ clucene-0.9.21b-r1.ebuild:
+ Fix maintainer mode called automake. Per bug #350100.
03 Dec 2010; Andrey Grozin <grozin@gentoo.org> clucene-0.9.21b-r1.ebuild,
+files/clucene-0.9.21b-doxygen.patch:
diff --git a/dev-cpp/clucene/clucene-0.9.21b-r1.ebuild b/dev-cpp/clucene/clucene-0.9.21b-r1.ebuild
index fd267ff9e57e..4488fba3f0dd 100644
--- a/dev-cpp/clucene/clucene-0.9.21b-r1.ebuild
+++ b/dev-cpp/clucene/clucene-0.9.21b-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/clucene/clucene-0.9.21b-r1.ebuild,v 1.4 2010/12/03 10:41:24 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/clucene/clucene-0.9.21b-r1.ebuild,v 1.5 2011/01/05 10:22:19 scarabeus Exp $
-EAPI="3"
+EAPI=3
MY_P=${PN}-core-${PV}
-inherit base
+inherit base autotools
DESCRIPTION="High-performance, full-featured text search engine based off of lucene in C++"
HOMEPAGE="http://clucene.sourceforge.net/"
@@ -26,6 +26,17 @@ PATCHES=(
S="${WORKDIR}/${MY_P}"
+src_prepare() {
+ base_src_prepare
+
+ # fix wrong aclocal_amflags
+ sed -i \
+ -e '/ACLOCAL_AMFLAGS/d' \
+ Makefile.am || die
+
+ AT_M4DIR='-I m4' eautoreconf
+}
+
src_configure() {
econf \
$(use_enable debug) \
@@ -45,8 +56,6 @@ src_install() {
base_src_install
use doc && { dohtml "${S}"/doc/html/* ; }
- if ! use static-libs; then
- find "${D}" -type f -name '*.la' -exec rm -f {} + \
- || die "la removal failed"
- fi
+ find "${D}" -type f -name '*.la' -exec rm -f {} + \
+ || die "la removal failed"
}