pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/41639: www/w3m Patch for add textproc/migemo support option.
>Number: 41639
>Category: pkg
>Synopsis: www/w3m Patch for add textproc/migemo support option.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat Jun 27 03:55:00 +0000 2009
>Originator: YAMASHIRO Jun
>Release: NetbSD/amd64 5.99.14
>Organization:
Okinawa FreeBSD Users Group
>Environment:
NetBSD yamajun.local 5.99.14 NetBSD 5.99.14 (YAMAJUN) #2: Sun Jun 21 12:14:16
JST 2009
yamajun%yamajun.local@localhost:/usr/src/sys/arch/amd64/compile/YAMAJUN amd64
>Description:
w3m(www/w3m) has a migemo(textproc/migemo) support code. But, cannot enable it
with www/w3m package.
I add "migemo" option to www/w3m/options.mk. It can enable w3m's migmeo
support code.
>How-To-Repeat:
>Fix:
Apply this patch to www/w3m
--- options.mk.orig 2009-06-14 20:47:35.000000000 +0900
+++ options.mk 2009-06-26 12:07:13.000000000 +0900
@@ -1,7 +1,7 @@
# $NetBSD: options.mk,v 1.9 2008/12/13 08:52:13 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.w3m
-PKG_SUPPORTED_OPTIONS= inet6 w3m-lynx-key w3m-m17n w3m-unicode
+PKG_SUPPORTED_OPTIONS= inet6 w3m-lynx-key w3m-m17n w3m-unicode migemo
PKG_SUGGESTED_OPTIONS= w3m-m17n
.if ${_W3M_USE_IMAGE} == "YES"
@@ -76,3 +76,11 @@
.else
CONFIGURE_ARGS+= --disable-image
.endif
+
+.if !empty(PKG_OPTIONS:Mmigemo)
+.include "../../lang/ruby/rubyversion.mk"
+DEPENDS+= ${RUBY_PKGPREFIX}-migemo-[0-9]*:../../textproc/migemo
+CONFIGURE_ARGS+= --with-migemo="${PREFIX}/bin/migemo -t egrep
${PREFIX}/share/migemo/migemo-dict"
+.else
+CONFIGURE_ARGS+= --without-migemo
+.endif
Home |
Main Index |
Thread Index |
Old Index