summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarien Zwart <marienz@gentoo.org>2012-05-30 14:00:35 +0000
committerMarien Zwart <marienz@gentoo.org>2012-05-30 14:00:35 +0000
commit7d0c31e2a12f5807c539de94efc7306deb738b6a (patch)
tree87957f831568881205f660b601fa18120f16fa9f /app-text
parentMarked ~hppa (bug #417685). (diff)
downloadgentoo-2-7d0c31e2a12f5807c539de94efc7306deb738b6a.tar.gz
gentoo-2-7d0c31e2a12f5807c539de94efc7306deb738b6a.tar.bz2
gentoo-2-7d0c31e2a12f5807c539de94efc7306deb738b6a.zip
Fix pkgconfig file (bug #418231), remove broken version.
(Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/libexttextcat/ChangeLog8
-rw-r--r--app-text/libexttextcat/files/libexttextcat-3.3.0-pkgconfig.patch12
-rw-r--r--app-text/libexttextcat/libexttextcat-3.3.0-r1.ebuild (renamed from app-text/libexttextcat/libexttextcat-3.3.0.ebuild)8
3 files changed, 26 insertions, 2 deletions
diff --git a/app-text/libexttextcat/ChangeLog b/app-text/libexttextcat/ChangeLog
index f954b4de72a4..13720b417314 100644
--- a/app-text/libexttextcat/ChangeLog
+++ b/app-text/libexttextcat/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/libexttextcat
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/libexttextcat/ChangeLog,v 1.7 2012/05/30 08:01:10 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/libexttextcat/ChangeLog,v 1.8 2012/05/30 14:00:35 marienz Exp $
+
+*libexttextcat-3.3.0-r1 (30 May 2012)
+
+ 30 May 2012; Marien Zwart <marienz@gentoo.org>
+ +files/libexttextcat-3.3.0-pkgconfig.patch, +libexttextcat-3.3.0-r1.ebuild:
+ Fix pkgconfig file (bug #418231), remove broken version.
*libexttextcat-3.3.0 (30 May 2012)
diff --git a/app-text/libexttextcat/files/libexttextcat-3.3.0-pkgconfig.patch b/app-text/libexttextcat/files/libexttextcat-3.3.0-pkgconfig.patch
new file mode 100644
index 000000000000..7fa84cca6c0f
--- /dev/null
+++ b/app-text/libexttextcat/files/libexttextcat-3.3.0-pkgconfig.patch
@@ -0,0 +1,12 @@
+diff --git a/libexttextcat.pc.in b/libexttextcat.pc.in
+index 5055180..228eb9b 100644
+--- a/libexttextcat.pc.in
++++ b/libexttextcat.pc.in
+@@ -10,6 +10,6 @@ Name: libexttextcat
+ Description: Library implementing N-gram-based text categorization
+ Version: @VERSION@
+ Requires:
+-Libs: -L${libdir} -lexttextcat
++Libs: -L${libdir} -lexttextcat-1.0
+ Cflags: -I${includedir}/libexttextcat/
+
diff --git a/app-text/libexttextcat/libexttextcat-3.3.0.ebuild b/app-text/libexttextcat/libexttextcat-3.3.0-r1.ebuild
index dfeb5c1635a3..2fb8862caf07 100644
--- a/app-text/libexttextcat/libexttextcat-3.3.0.ebuild
+++ b/app-text/libexttextcat/libexttextcat-3.3.0-r1.ebuild
@@ -1,9 +1,11 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/libexttextcat/libexttextcat-3.3.0.ebuild,v 1.1 2012/05/30 08:01:10 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/libexttextcat/libexttextcat-3.3.0-r1.ebuild,v 1.1 2012/05/30 14:00:35 marienz Exp $
EAPI=4
+inherit eutils
+
DESCRIPTION="Library implementing N-gram-based text categorization"
HOMEPAGE="http://software.wise-guys.nl/libtextcat/"
SRC_URI="http://dev-www.libreoffice.org/src/${PN}/${P}.tar.xz"
@@ -16,6 +18,10 @@ IUSE="static-libs"
DEPEND=""
RDEPEND="${DEPEND}"
+src_prepare() {
+ epatch "${FILESDIR}/${P}-pkgconfig.patch"
+}
+
src_configure() {
econf \
--disable-werror \