]> git.pld-linux.org Git - packages/mecab.git/commitdiff
- added libdir patch: put proper libdir in mecabrc file
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 17 Mar 2018 07:42:52 +0000 (08:42 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 17 Mar 2018 07:42:52 +0000 (08:42 +0100)
mecab-libdir.patch [new file with mode: 0644]
mecab.spec

diff --git a/mecab-libdir.patch b/mecab-libdir.patch
new file mode 100644 (file)
index 0000000..9048f28
--- /dev/null
@@ -0,0 +1,11 @@
+--- mecab-0.996/mecabrc.in.orig        2012-09-29 18:44:28.000000000 +0200
++++ mecab-0.996/mecabrc.in     2018-03-17 08:41:09.717342237 +0100
+@@ -3,7 +3,7 @@
+ ;
+ ; $Id: mecabrc.in,v 1.3 2006/05/29 15:36:08 taku-ku Exp $;
+ ;
+-dicdir =  @prefix@/lib/mecab/dic/ipadic
++dicdir =  @libdir@/mecab/dic/ipadic
+ ; userdic = /home/foo/bar/user.dic
index 935ae099302a1fe3a746314982cc18642aa48bc3..062968b49e201fa6a26b503d64815876e283971b 100644 (file)
@@ -11,6 +11,7 @@ Group:                Libraries
 Source0:       %{name}-%{version}.tar.gz
 # Source0-md5: 7603f8975cea2496d88ed62545ba973f
 Patch0:                %{name}-libexec.patch
+Patch1:                %{name}-libdir.patch
 URL:           https://taku910.github.io/mecab
 BuildRequires: automake
 BuildRequires: libstdc++-devel
@@ -50,6 +51,7 @@ Statyczna biblioteka MeCab.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 cp -f /usr/share/automake/config.sub .
This page took 0.092701 seconds and 4 git commands to generate.