freebsd-ports/chinese
Raphael Kubo da Costa f358732b18 Uses/iconv.mk: Set iconv-related CMake variables.
The way we deal with iconv in base and ports across different FreeBSD
releases is complicated: 9.x does not have iconv.h in base, 10.1 has it with
a different prototype for iconv(3) and later versions have the right
iconv(3) prototype. And, in some cases (USES=iconv:{translit,wchar_t}), we
must always use the libiconv port.

This is why there are so many checks in Uses/iconv.mk: we need to know the
situation we currently have in order to decide whether to pull iconv from
converters/libiconv, whether to just use its header (and pull the library
from base) or whether to use everything from base.

r384038 adjusted several CMake-based ports, but did so in a way that was not
very scalable and required a few intrusive patches to some ports. Most ports
that have both USES=cmake and USES=iconv use variations of FindIconv.cmake
that behave similarly. This change passes the header and library values we
really want to use to CMake using the most common variable names, bypassing
the calls to find_path() and find_library() that would sometimes end up
finding the wrong file. The few ports that use different variable names have
had their Makefiles adjusted (we manually pass the values we want via
CMAKE_ARGS).

Other changes:
- chinese/fcitx: Explicitly set LIBICONV_LIBC_HAS_ICONV_OPEN=OFF as we
  always want the version from ports because of USES=iconv:wchar_t.
- editors/calligra: Explicitly use iconv:translit because Kexi needs it.
- irc/weechat and irc/weechat-devel: The FindIconv.cmake patches could not
  be entirely removed because the check_library_exists() calls are wrong.
  Sent upstream: https://github.com/weechat/weechat/pull/513
- textproc/ctpp2: Use iconv:translit when the TRANSLITERATE option is used.

PORTREVISION has been bumped in editors/calligra and textproc/ctpp2 because
their dependency list has changed in 10.2 and later as the ports version is
always used now.

PR:		202798
Reviewed by:	antoine, tijl
Approved by:	portmgr (antoine)
2015-09-03 15:44:13 +00:00
..
arphicttf
aterm
auto-cn-l10n Convert ports to use the options helpers in categories [abc]*, and minor fixes. 2015-08-19 13:29:59 +00:00
auto-tw-l10n
autoconvert
bg5pdf
bg5ps
big5width
bitchx
brise
bsdconv-opencc
bug5
c2t
calligra-l10n-zh_CN
calligra-l10n-zh_TW
cce
cconv
celvis
chiconv
CJKUnifonts
cless
cnprint Convert ports to use the options helpers in categories [abc]*, and minor fixes. 2015-08-19 13:29:59 +00:00
CNS11643-font
cwtexttf
dictd-database
docproj
enscript
eric6 devel/eric6 and eric6 i18n files: update to version 6.0.8 2015-08-18 09:17:59 +00:00
eterm
fcitx Uses/iconv.mk: Set iconv-related CMake variables. 2015-09-03 15:44:13 +00:00
fcitx-chewing
fcitx-cloudpinyin
fcitx-configtool Convert ports to use the options helpers in categories [abc]*, and minor fixes. 2015-08-19 13:29:59 +00:00
fcitx-googlepinyin
fcitx-libpinyin
fcitx-rime
fcitx-sunpinyin
fcitx-table-extra
fcitx-ui-light
fireflyttf
font-std
fortune
fortunetw
fqterm
FreeWnn-lib
FreeWnn-server
gb2jis
gb2ps
gcin Convert ports to use the options helpers in categories [abc]*, and minor fixes. 2015-08-19 13:29:59 +00:00
gimp-help-zh_CN
gugod-clean
hc
ibus-chewing
ibus-libpinyin Convert ports to use the options helpers in categories [abc]*, and minor fixes. 2015-08-19 13:29:59 +00:00
ibus-pinyin Convert ports to use the options helpers in categories [abc]*, and minor fixes. 2015-08-19 13:29:59 +00:00
ibus-table-chinese
irssi
jis2gb
joe Remove UNIQUENAME and LATEST_LINK. 2015-08-17 14:20:40 +00:00
kcfonts
kde4-l10n-zh_CN
kde4-l10n-zh_TW
kon2
libchewing Remove BROKEN on powerpc statements: both these ports build and install fine. 2015-09-03 09:43:59 +00:00
libgooglepinyin
libpinyin
libreoffice-zh_CN Update LibreOffice to 5.0.1. 2015-09-01 21:26:44 +00:00
libreoffice-zh_TW Update LibreOffice to 5.0.1. 2015-09-01 21:26:44 +00:00
librime
libtabe Convert ports to use the options helpers in categories [abc]*, and minor fixes. 2015-08-19 13:29:59 +00:00
lunar
moettf
muni Convert ports to use the options helpers in categories [abc]*, and minor fixes. 2015-08-19 13:29:59 +00:00
mutt
oicq
opencc Remove BROKEN on powerpc statements: both these ports build and install fine. 2015-09-03 09:43:59 +00:00
opendesktop-fonts
oto
oxim Convert ports to use the options helpers in categories [abc]*, and minor fixes. 2015-08-19 13:29:59 +00:00
p5-cconv
p5-Date-Chinese
p5-Encode-CNMap
p5-Encode-HanConvert
p5-Encode-HanExtra
p5-Lingua-Han-PinYin
p5-Lingua-Han-Utils
p5-Lingua-ZH-BPMFConvert
p5-Lingua-ZH-HanDetect
p5-Lingua-ZH-Keywords
p5-Lingua-ZH-Numbers
p5-Lingua-ZH-Segment
p5-Lingua-ZH-Summarize
p5-Lingua-ZH-TaBE
p5-Lingua-ZH-Toke
p5-Lingua-ZH-WordSegmenter
p5-Lingua-ZH-Wrap
p5-Text-Greeking-zh_TW
pcmanx Convert ports to use the options helpers in categories [abc]*, and minor fixes. 2015-08-19 13:29:59 +00:00
php-cconv
phpbb3-tw Remove UNIQUENAME and LATEST_LINK. 2015-08-17 14:20:40 +00:00
phpbb-tw
py-cconv - Allow concurrent installation (USE_PYTHON=concurrent) 2015-09-02 17:03:10 +00:00
pyzy Convert ports to use the options helpers in categories [abc]*, and minor fixes. 2015-08-19 13:29:59 +00:00
qe
qt4-codecs-cn
qt4-codecs-tw
qterm Convert ports to use the options helpers in categories [abc]*, and minor fixes. 2015-08-19 13:29:59 +00:00
reciteword
scim-array
scim-fcitx
scim-pinyin
scim-tables
sunpinyin
telnet
tin
tintin++
ttf2pt1
ttfm
unrar
ve
wenju
wordpress-zh_CN - Update to 4.3 2015-08-31 13:32:37 +00:00
wordpress-zh_TW - Update to 4.3 2015-08-31 13:32:42 +00:00
xpdf
ydict
Makefile
Makefile.inc