[MacPorts] #31837: Mecab's script modules fail to install with mecab-utf8/sjis.

MacPorts noreply at macports.org
Mon Oct 31 09:06:36 PDT 2011


#31837: Mecab's script modules fail to install with mecab-utf8/sjis.
-----------------------------------+----------------------------------------
 Reporter:  takanori@…             |       Owner:  hum@…           
     Type:  defect                 |      Status:  assigned        
 Priority:  Normal                 |   Milestone:                  
Component:  ports                  |     Version:  2.0.3           
 Keywords:                         |        Port:  mecab           
-----------------------------------+----------------------------------------
Changes (by hum@…):

 * cc: rsky0711@… (added)
  * status:  new => assigned


Comment:

 A simple solution is to use lib:-style dependency instead of port:-style.
 For example, the following is a diff for rb-ruby Portfile:
 {{{
 --- Portfile.orig       2011-07-31 15:02:55.000000000 +0900
 +++ Portfile    2011-11-01 00:04:29.000000000 +0900
 @@ -18,7 +18,7 @@
                  rmd160 bb0063b20162c0a6d02b529f9e451d8fe0e7b518

  categories-append   textproc japanese
 -depends_lib-append  port:mecab
 +depends_lib-append  lib:libmecab:mecab

  post-extract {
      reinplace s|\#!/usr/bin/ruby|\#!${ruby.bin}|g \
 }}}

 How about this? I am ready to update mecab module ports.

-- 
Ticket URL: <https://trac.macports.org/ticket/31837#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list