Personal patches
Go to file
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
accessibility Remove conditions around the EXTRA_PATCHES: always apply the patch 2015-08-24 06:05:53 +00:00
arabic Update LibreOffice to 5.0.1. 2015-09-01 21:26:44 +00:00
archivers - Update to 1.1.12 2015-09-03 15:36:30 +00:00
astro Drop USES=iconv. 2015-08-30 10:19:23 +00:00
audio Uses/iconv.mk: Set iconv-related CMake variables. 2015-09-03 15:44:13 +00:00
benchmarks - Remove useless use of MASTER_SITE_SUBDIR [1] 2015-08-24 20:55:40 +00:00
biology - Unbreak on PowerPC by using atomicops implementation for Linux and GCC 2015-09-02 12:29:09 +00:00
cad Update devel/tbb to 4.4.0 and bump dependent ports' revisions 2015-09-02 18:22:35 +00:00
chinese Uses/iconv.mk: Set iconv-related CMake variables. 2015-09-03 15:44:13 +00:00
comms Replace devel/cppunit with devel/cppunit113. 2015-09-01 18:51:17 +00:00
converters - Improve COMMENT: make it concise and mention that it's about Base64 2015-09-03 10:43:55 +00:00
databases Upgrade to 2.7.2. 2015-09-02 23:10:49 +00:00
deskutils Uses/iconv.mk: Set iconv-related CMake variables. 2015-09-03 15:44:13 +00:00
devel Fix build on i386-9.3. 2015-09-03 15:37:39 +00:00
dns - Switch to options helpers 2015-09-02 22:39:27 +00:00
editors Uses/iconv.mk: Set iconv-related CMake variables. 2015-09-03 15:44:13 +00:00
emulators QEMU update to 2.4.0 2015-09-02 16:12:36 +00:00
finance - Clarify LICENSE 2015-09-02 00:08:57 +00:00
french Update LibreOffice to 5.0.1. 2015-09-01 21:26:44 +00:00
ftp - Update to 0.9.3 2015-08-29 07:40:18 +00:00
games - Add forgotten patches, fixing build 2015-09-03 14:25:21 +00:00
german Update LibreOffice to 5.0.1. 2015-09-01 21:26:44 +00:00
graphics - Add parts of code from newer wine to fix build on mips and aarch64 2015-09-03 09:57:19 +00:00
hebrew Update LibreOffice to 5.0.1. 2015-09-01 21:26:44 +00:00
hungarian Update LibreOffice to 5.0.1. 2015-09-01 21:26:44 +00:00
irc Uses/iconv.mk: Set iconv-related CMake variables. 2015-09-03 15:44:13 +00:00
japanese Update LibreOffice to 5.0.1. 2015-09-01 21:26:44 +00:00
java The GitHub revision tag starts with 'v', so add DISTVERSIONPREFIX to 2015-08-29 18:24:27 +00:00
Keywords Add -f flag to force scanning of font directories 2015-04-06 20:22:58 +00:00
korean Update LibreOffice to 5.0.1. 2015-09-01 21:26:44 +00:00
lang 1: Upgrade to 1.2.0. 2015-09-03 15:22:07 +00:00
mail Uses/iconv.mk: Set iconv-related CMake variables. 2015-09-03 15:44:13 +00:00
math - Remove everything related to DOCS as not documentation is actually installed 2015-09-03 10:28:15 +00:00
misc - Update to 1.83 2015-09-03 10:05:02 +00:00
Mk Uses/iconv.mk: Set iconv-related CMake variables. 2015-09-03 15:44:13 +00:00
multimedia multimedia/mpv: removing freetype dependency 2015-09-02 05:53:28 +00:00
net - Tweak version condition for IGNORE: lagg_proto enum which this code depends on only exists in current 2015-09-03 15:01:31 +00:00
net-im Uses/iconv.mk: Set iconv-related CMake variables. 2015-09-03 15:44:13 +00:00
net-mgmt Update to 2.1.1 2015-09-03 08:50:29 +00:00
net-p2p net-p2p/namecoin: fix for upcoming FORTIFY_SOURCE 2015-09-02 05:23:35 +00:00
news - Fix shebangs 2015-09-02 13:46:31 +00:00
palm - Switch to options helpers 2015-09-01 16:20:47 +00:00
polish Update LibreOffice to 5.0.1. 2015-09-01 21:26:44 +00:00
ports-mgmt - Switch to options helpers 2015-09-01 16:20:47 +00:00
portuguese Update LibreOffice to 5.0.1. 2015-09-01 21:26:44 +00:00
print - Allow concurrent installation (USE_PYTHON=concurrent) 2015-09-02 17:04:31 +00:00
russian Update LibreOffice to 5.0.1. 2015-09-01 21:26:44 +00:00
science - Allow concurrent installation (USE_PYTHON=concurrent) 2015-09-02 17:04:36 +00:00
security Minimum range adjustment for bind vulnerability 2015-09-03 15:23:31 +00:00
shells Update to 5.1 2015-08-30 20:01:07 +00:00
sysutils - Switch to options helpers 2015-09-03 14:09:17 +00:00
Templates Update config.guess and config.sub to the latest version. 2015-06-21 11:55:42 +00:00
textproc Uses/iconv.mk: Set iconv-related CMake variables. 2015-09-03 15:44:13 +00:00
Tools Remove UNIQUENAME and LATEST_LINK. 2015-08-17 14:20:40 +00:00
ukrainian Update LibreOffice to 5.0.1. 2015-09-01 21:26:44 +00:00
vietnamese Update LibreOffice to 5.0.1. 2015-09-01 21:26:44 +00:00
www - Update to 0.1-3 2015-09-03 13:54:58 +00:00
x11 - Switch to USES=tar:tgz 2015-09-02 22:52:15 +00:00
x11-clocks By default libtool replaces -export-symbols <file> with -retain-symbols-file 2015-08-02 15:03:19 +00:00
x11-drivers x11-drivers/xf86-input-wacom: update to 0.31.0 2015-08-20 13:10:30 +00:00
x11-fm - Bump PORTREVISION after libzip update 2015-08-28 10:48:41 +00:00
x11-fonts - Add NO_ARCH 2015-08-21 15:37:31 +00:00
x11-servers Automatically load mouse integration support for VirtualBox guest. 2015-05-19 20:04:12 +00:00
x11-themes Update to 1.6.1 2015-08-30 13:47:09 +00:00
x11-toolkits - Update devel/efl to 1.15.1 2015-09-02 23:10:23 +00:00
x11-wm - Cleanup, update MASTER_SITES 2015-09-03 14:03:33 +00:00
.arcconfig Add repository.callsign, to help arcanist figure out what repo it's 2015-07-02 22:22:56 +00:00
.gitignore gitignore add *~, *.{rej,orig}, INDEX and vim swapfiles 2015-01-02 22:15:41 +00:00
CHANGES Add generic opt_VARS/opt_VARS_OFF. 2015-08-28 12:28:13 +00:00
CONTRIBUTING.md
COPYRIGHT
GIDs New Port: net-mgmt/fastnetmon 1.1.2 - high performance DoS/DDoS load analyzer 2015-08-31 09:29:17 +00:00
LEGAL Remove expired ports: 2015-09-02 05:34:30 +00:00
Makefile
MOVED Remove expired ports: 2015-09-02 05:34:30 +00:00
README
UIDs New Port: dns/dnscrypt-wrapper 2015-09-02 22:17:45 +00:00
UPDATING Update LibreOffice to 5.0.1. 2015-09-01 21:26:44 +00:00

This is the FreeBSD Ports Collection.  For an easy to use
WEB-based interface to it, please see:

	http://www.FreeBSD.org/ports

For general information on the Ports Collection, please see the
FreeBSD Handbook ports section which is available from:

	http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/ports.html
		for the latest official version
	or:
	The ports(7) manual page (man ports).

These will explain how to use ports and packages.

If you would like to search for a port, you can do so easily by
saying (in /usr/ports):


	make search name="<name>"
	or:
	make search key="<keyword>"

which will generate a list of all ports matching <name> or <keyword>.
make search also supports wildcards, such as:

	make search name="gtk*"

For information about contributing to FreeBSD ports, please see the Porter's
Handbook, available at:

	http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/porters-handbook/

NOTE:  This tree will GROW significantly in size during normal usage!
The distribution tar files can and do accumulate in /usr/ports/distfiles,
and the individual ports will also use up lots of space in their work
subdirectories unless you remember to "make clean" after you're done
building a given port.  /usr/ports/distfiles can also be periodically
cleaned without ill-effect.