#285 closed System Enhancement (fixed)
ports/www/w3m: disabled M17N(multilingualization) option.
| Reported by: | yamajun | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Misc | Version: | 8.0 |
| Keywords: | w3m www console m17n multilingualization | Cc: | trac-bugs@… |
Description
w3m (ports/www/w3m) is text based web browser/pager. w3m is preferred
non-Latin language user. It has a multilingualization(m17n) support.
w3m merged into PC-BSD 8.0(ports/textproc/xmlto depend on w3m).
But, w3m on PC-BSD lack of m17n option. w3m cannot display
non-Latin text.
Solution:
Add this configuration to pcbsd/trunk/build-files/conf/pcbsd-make.conf
.if ${.CURDIR} == ${PORTSDIR}/www/w3m
M17N=YES
.endif
Change History (7)
comment:1 Changed 3 years ago by kris
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 3 years ago by yamajun
- Resolution fixed deleted
- Status changed from closed to reopened
Unfortunately, disabled M17N option at PC-BSD 8.1-BETA1. Wrong my script for make.conf . Please replace with this code.
(Old script worked only with limited case. ex: "cd /usr/ports/www/w3m; make install")
.if ${.CURDIR:M${PORTSDIR}/www/w3m} != ""
M17N=yes
.endif
If script work correctly, "m17n" appear in version string.
# w3m -version w3m version w3m/0.5.2, options lang=en,m17n,color,ansi-color,mouse,sysmouse,menu,cookie,ssl,ssl-verify,external-uri-loader,w3mmailer,nntp,ipv6,alarm,mark
comment:3 Changed 3 years ago by kris
- Resolution set to fixed
- Status changed from reopened to closed
Thanks for the fix, done:
http://trac.pcbsd.org/changeset/6893
This should be in RC1, please re-test there and let me know if it still fails.
comment:4 Changed 3 years ago by yamajun
w3m fixed in RC1! Thanks!
comment:5 Changed 14 months ago by yamajun
- Resolution fixed deleted
- Status changed from closed to reopened
In PC-BSD 9.0, M17N option lost from w3m. Please fix it.
# uname -a FreeBSD base 9.0-RELEASE FreeBSD 9.0-RELEASE #3: Tue Dec 27 14:14:29 PST 2011 root@build9x64.pcbsd.org:/usr/obj/builds/amd64/pcbsd-build90/fbsd-source/9.0/sys/GENERIC amd64 # w3m -version w3m version w3m/0.5.3, options lang=en,color,ansi-color,mouse,sysmouse,menu,cookie,ssl,ssl-verify,external-uri-loader,w3mmailer,nntp,ipv6,alarm,mark
Reason:
M17N option name of ports/www/w3m changed to WITH_M17N.
Diff of ports/www/w3m/Makefile
How to fix:
Edit pcbsd/current/build-files/conf/pcbsd-make.conf
# current version
.if ${.CURDIR:M${PORTSDIR}/www/w3m} != ""
M17N=yes
.endif
# fixed version
.if ${.CURDIR:M${PORTSDIR}/www/w3m} != ""
WITH_M17N=yes
.endif
comment:6 Changed 14 months ago by kris
- Resolution set to fixed
- Status changed from reopened to closed
Fixed in SVN!
comment:7 Changed 13 months ago by yamajun
I checked w3m on 20120418 snapshot. Just working now! Thanks Kris!

Thanks, fixed in that build file in TRUNK :)