summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2006-06-26 19:37:30 +0000
committerMamoru Komachi <usata@gentoo.org>2006-06-26 19:37:30 +0000
commitcf9a69b1f4040cf3dcaf14d1fdbd3504ade2dc97 (patch)
treecd64940427db978bb2b9042bf1bd5de93a7efbac /app-text
parentshell highlighting has been integrated upstream (diff)
downloadgentoo-2-cf9a69b1f4040cf3dcaf14d1fdbd3504ade2dc97.tar.gz
gentoo-2-cf9a69b1f4040cf3dcaf14d1fdbd3504ade2dc97.tar.bz2
gentoo-2-cf9a69b1f4040cf3dcaf14d1fdbd3504ade2dc97.zip
Fixed compilation for the first time.
(Portage version: 2.1-r1)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/cabocha/ChangeLog6
-rw-r--r--app-text/cabocha/cabocha-0.53.ebuild10
-rw-r--r--app-text/cabocha/files/cabocha-0.53-pm.patch26
-rw-r--r--app-text/cabocha/files/digest-cabocha-0.522
-rw-r--r--app-text/cabocha/files/digest-cabocha-0.532
5 files changed, 43 insertions, 3 deletions
diff --git a/app-text/cabocha/ChangeLog b/app-text/cabocha/ChangeLog
index 513cedb8c44f..bd4911cd31cf 100644
--- a/app-text/cabocha/ChangeLog
+++ b/app-text/cabocha/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/cabocha
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/cabocha/ChangeLog,v 1.2 2006/02/02 22:48:09 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/cabocha/ChangeLog,v 1.3 2006/06/26 19:37:30 usata Exp $
+
+ 26 Jun 2006; Mamoru KOMACHI <usata@gentoo.org>
+ +files/cabocha-0.53-pm.patch, cabocha-0.53.ebuild:
+ Fixed compilation for the first time.
*cabocha-0.53 (02 Feb 2006)
diff --git a/app-text/cabocha/cabocha-0.53.ebuild b/app-text/cabocha/cabocha-0.53.ebuild
index 39395d317fa6..cc71beb66492 100644
--- a/app-text/cabocha/cabocha-0.53.ebuild
+++ b/app-text/cabocha/cabocha-0.53.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/cabocha/cabocha-0.53.ebuild,v 1.1 2006/02/02 22:48:09 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/cabocha/cabocha-0.53.ebuild,v 1.2 2006/06/26 19:37:30 usata Exp $
-inherit perl-module
+inherit perl-module eutils
DESCRIPTION="Yet Another Japanese Dependency Structure Analyzer"
HOMEPAGE="http://chasen.org/~taku/software/cabocha/"
@@ -19,6 +19,12 @@ DEPEND="app-text/yamcha
|| ( app-text/chasen app-text/mecab )"
#RDEPEND=""
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch "${FILESDIR}"/${P}-pm.patch
+}
+
src_compile() {
econf || die
emake || die
diff --git a/app-text/cabocha/files/cabocha-0.53-pm.patch b/app-text/cabocha/files/cabocha-0.53-pm.patch
new file mode 100644
index 000000000000..2e9088185cae
--- /dev/null
+++ b/app-text/cabocha/files/cabocha-0.53-pm.patch
@@ -0,0 +1,26 @@
+diff -urN cabocha-0.53/perl/Makefile.PL cabocha-0.53-pm/perl/Makefile.PL
+--- cabocha-0.53/perl/Makefile.PL 2005-12-24 21:54:43.000000000 +0900
++++ cabocha-0.53-pm/perl/Makefile.PL 2006-06-27 00:37:36.000000000 +0900
+@@ -6,7 +6,7 @@
+ 'LD' => 'g++',
+ 'NAME' => 'CaboCha',
+ 'VERSION_FROM' => 'CaboCha.pm', # finds $VERSION
+- 'INC' => '-I/usr/local/include',
+- 'LIBS' => '-L/usr/local/lib -L/usr/local/lib -lyamcha -lm -lstdc++ -lstdc++ -lc -ldl -lcabocha',
++ 'INC' => '-I../src -I/usr/local/include',
++ 'LIBS' => '-L../src -L/usr/local/lib -L/usr/local/lib -lyamcha -lm -lstdc++ -lstdc++ -lc -ldl -lcabocha',
+ 'OBJECT' => 'CaboCha_wrap.o'
+ );
+diff -urN cabocha-0.53/perl/Makefile.PL.in cabocha-0.53-pm/perl/Makefile.PL.in
+--- cabocha-0.53/perl/Makefile.PL.in 2002-10-24 21:10:19.000000000 +0900
++++ cabocha-0.53-pm/perl/Makefile.PL.in 2006-06-27 00:37:12.000000000 +0900
+@@ -6,7 +6,7 @@
+ 'LD' => '@CXX@',
+ 'NAME' => 'CaboCha',
+ 'VERSION_FROM' => 'CaboCha.pm', # finds $VERSION
+- 'INC' => '-I@prefix@/include',
+- 'LIBS' => '-L@prefix@/lib @CABOCHA_LIBS@ -lcabocha',
++ 'INC' => '-I../src -I@prefix@/include',
++ 'LIBS' => '-L../src -L@prefix@/lib @CABOCHA_LIBS@ -lcabocha',
+ 'OBJECT' => 'CaboCha_wrap.o'
+ );
diff --git a/app-text/cabocha/files/digest-cabocha-0.52 b/app-text/cabocha/files/digest-cabocha-0.52
index e090e0ca57d6..0bf421a96304 100644
--- a/app-text/cabocha/files/digest-cabocha-0.52
+++ b/app-text/cabocha/files/digest-cabocha-0.52
@@ -1 +1,3 @@
MD5 76980633be7e1937b55c38228e1d03f4 cabocha-0.52.tar.gz 11446757
+RMD160 65b3557577883f9551cc2595a1884a47840c0b71 cabocha-0.52.tar.gz 11446757
+SHA256 4118a39cb799ff25604ace9d73dc5174e1cb4c541278fc2c27b4d2cd5963beae cabocha-0.52.tar.gz 11446757
diff --git a/app-text/cabocha/files/digest-cabocha-0.53 b/app-text/cabocha/files/digest-cabocha-0.53
index baec838f7696..0a7fecf11032 100644
--- a/app-text/cabocha/files/digest-cabocha-0.53
+++ b/app-text/cabocha/files/digest-cabocha-0.53
@@ -1 +1,3 @@
MD5 78fedfce32427f1e4e0bd927caa6d694 cabocha-0.53.tar.gz 11552551
+RMD160 39b637adc8b882542ecc3b6df34d8f6b99be3e38 cabocha-0.53.tar.gz 11552551
+SHA256 b8ed5e1631438ee9796681b1b7bf25533fdf40c2adcbc9e47ed0537ee9966b45 cabocha-0.53.tar.gz 11552551