#739 closed defect (fixed)
gtk(1.2.10) 's locale support on Japanese is broken
Reported by: | hideishi@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
As I requested before, gtk(1.2.10) can support Japanese locale if (and only if) "--with-locale" is explictly set as argument for configure script. However, the committed Portfile has "--enable-locale" instead of "--with-locale". Due to some odd reasons, gtk's configure script cannot correctly set -DX_LOCALE flag if "--enable-locale" is used. But, it can correctly configure if "--with-locale" is used. I suppose in gtk's old autoconf-generated-configure script, there might be some difference between "--enable" ande "--with". So, I would like to request for change from "--enable-locale" to "--with-locale".
In addition to that, it might be better to add "CPPFLAGS=${prefix}/include" in configure.env so that gettext's libintl.h header file can correctly detected by configure script. (Without this CPPFLAGS, gtk's configure script disables libintl support.)
Committed, thanks. Sorry I fat-fingered the configure args the last time I tried to fix this :-(