freebsd-ports/Mk
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
..
Scripts Fix error message when not finding a package 2015-09-02 21:23:47 +00:00
Uses Uses/iconv.mk: Set iconv-related CMake variables. 2015-09-03 15:44:13 +00:00
bsd.apache.mk Fix static modules in www/apache24 2015-07-14 22:34:53 +00:00
bsd.autotools.mk Mark USE_AUTOTOOLS deprecated and remove support for libtoolize. 2015-04-19 18:16:40 +00:00
bsd.ccache.mk Let WITH_CCACHE_BUILD work on the pkg port that is not PKG_ORIGIN. 2015-04-14 20:58:26 +00:00
bsd.commands.mk Introduce a BSDMAKE?= /usr/bin/make and use it as the default MAKE_CMD. 2015-03-23 04:03:00 +00:00
bsd.database.mk Remove UNIQUENAME and LATEST_LINK. 2015-08-17 14:20:40 +00:00
bsd.default-versions.mk Remove minor version numbers. 2015-07-23 01:44:51 +00:00
bsd.destdir.mk - Fix DESTDIR support. 2014-09-08 20:44:21 +00:00
bsd.emacs.mk GNU Emacs Updates 2015-04-27 10:28:00 +00:00
bsd.fpc.mk - editors/lazarus update to 1.4.2 2015-08-09 08:06:43 +00:00
bsd.gcc.mk Since there is not going to be any new version of GCC in the FreeBSD 2015-04-22 21:29:21 +00:00
bsd.gecko.mk gecko: add INTEGER_SAMPLES option 2015-08-26 06:38:32 +00:00
bsd.gnome.mk Update the USE_GNOME librsvg2 entry, which should have happened in 2015-08-29 16:50:57 +00:00
bsd.gstreamer.mk Big Gstreamer update: 2014-12-16 13:35:01 +00:00
bsd.java.mk - Make OpenJDK 1.7 the default 2014-06-27 20:05:36 +00:00
bsd.kde4.mk Update KDE SC to 4.14.3 2015-03-11 23:11:47 +00:00
bsd.ldap.mk net/openldap24-*: 2014-07-24 18:34:16 +00:00
bsd.licenses.db.mk - Add Creative Commons Zero v1.0 Universal as license 2014-06-23 11:13:21 +00:00
bsd.licenses.mk Register license files with absolute path 2014-09-23 12:42:00 +00:00
bsd.linux-apps.mk Re-commit of 2015-08-09 19:14:13 +00:00
bsd.linux-rpm.mk Re-commit of 2015-08-09 19:14:13 +00:00
bsd.local.mk Switch to default tabspace: 8 2014-06-18 07:14:22 +00:00
bsd.mate.mk Update MATE DE to 1.10.0. 2015-07-27 20:19:33 +00:00
bsd.ocaml.mk - Add USE_OCAML_CAMLP4 and USE_OCAML_TK to bsd.ocaml.mk which add 2015-05-04 15:46:51 +00:00
bsd.octave.mk - Add variable assignments to make_args. 2015-01-23 03:18:29 +00:00
bsd.openssl.mk security/libressl: Update to 2.2.2 2015-08-06 19:13:18 +00:00
bsd.options.desc.mk - Add shared PYTHON2 and PYTHON3 descriptions 2015-08-20 07:39:09 +00:00
bsd.options.mk Use more precise wording, i.e. "set" and "append" instead of "run." 2015-08-28 16:18:32 +00:00
bsd.php.mk Use INSTALL_LIB to install php extensions, so they'll be correctly stripped. 2015-02-24 15:05:17 +00:00
bsd.port.mk Mk/bsd.port.mk: Add PKG_CREATE_VERBOSE functionality 2015-08-28 13:50:43 +00:00
bsd.port.options.mk tabspace: 8 2014-06-18 12:21:35 +00:00
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk Use .sinclude when possible. 2015-06-13 02:46:52 +00:00
bsd.qt.mk Add www/qt5-websockets. 2015-06-11 11:59:55 +00:00
bsd.ruby.mk - Add BROKEN_RUBYxx to simplify Makefile 2015-08-29 10:02:33 +00:00
bsd.sanity.mk Remove UNIQUENAME and LATEST_LINK. 2015-08-17 14:20:40 +00:00
bsd.sdl.mk Use new LIB_DEPENDS syntax in Mk/bsd.sdl.mk. 2014-05-02 14:45:32 +00:00
bsd.sites.mk Move one of the fallback site upper 2015-08-30 12:48:27 +00:00
bsd.ssp.mk - Enable SSP by default. 2014-11-02 20:01:31 +00:00
bsd.tex.mk - Separate libsynctex from tex-web2c to devel/tex-synctex. 2015-07-26 06:57:26 +00:00
bsd.wx.mk Mk/bsd.wx.mk: add wxPython 3.0 support 2014-07-05 18:38:03 +00:00
bsd.xorg.mk Misc X.org port updates: 2015-04-18 15:34:36 +00:00