Created attachment 190389 [details]
Patch to make option WCHAR implicit
This bug occurs only when the port is configured and built individually.
How to reproduce:
Compile the port with options LUIT enabled and WCHAR disabled.
The port compiles without problems but the enabled option LUIT is silently ignored because it relies on the WCHAR option which was disabled.
This can be verified if the configure command will be used with the following parameters:
./configure --with-luit --disable-wide-chars
The option '--with-luit' is silently ignored and xterm will have no luit filter and unicode support.
If the configure command as listed below will be used instead, xterm is compiled with luit filter and unicode support:
./configure --with-luit --enable-wide-chars
The option WCHAR should be enabled implicitly when option LUIT is enabled. Attached with this PR is the patch.
- portlint: ok
- poudriere (11.1-RELEASE amd64): ok
Created attachment 190390 [details]
configure with LUIT enabled and WCHAR disabled
Created attachment 190391 [details]
configure with LUIT enabled and WCHAR enabled
A commit references this bug:
Date: Sat Feb 10 08:11:26 UTC 2018
New revision: 461363
- Update to 331
- WCHAR options requires print/freetype2
- LUIT option implies the WCHAR option 
- Provide a TOOLBAR option 
PR: 225733 
Submitted by: email@example.com ,
firstname.lastname@example.org (via mail) 
Committed, thank you very much.