freebsd-ports/databases/evolution-data-server
Don Lewis 351ab93eed Remove USES=compiler:c++11-lib from mail/evolution. While it fixes
the build failure on FreeBSD 8 (and probably 9), the application
fails to start because the base version of libstdc++ is loaded at
runtime, which does not satify the requirements of webkit-gtk3.  The
reason is that evolution does not directly link to libstdc++, so
the rpath added to it by USES=compiler:c++11-lib has no effect.  The
first shared library that links to libstdc++ belongs to
evolution-data-server, which does not have USES=compiler:c++11-lib,
which causes the base version of libstdc++ to be loaded.

Unconditionally add USES=compiler:c++11-lib to
databases/evolution-data-server.  Adding the rpath to its shared
libraries will cause the newer version of libstdc++ to be loaded
when evolution starts and fix the runtime error on FreeBSD 8 and
9.  For standard versions of FreeBSD 10 and higher on amd64 and
i386, it is a no-op, so there is no harm in doing this. If FreeBSD
10 or higher is configured to build with base gcc and clang is not
present, which is an option on amd64 and i386 and is mandatory on
some tier 2 platforms that don't have clang support, then
USES=compiler:c++11-lib is needed.

PR:		199746
Differential Revision:	https://reviews.freebsd.org/D2388
Reviewed by:	kwm
Approved by:	mat (mentor)
MFH:		2015Q2
2015-04-29 17:05:19 +00:00
..
files The FreeBSD GNOME team proudly presents GNOME 3.14 and Cinnamon 2.2. 2014-11-19 11:49:04 +00:00
distinfo Update the Gnome stack to the latest in the 3.14 series. 2015-03-27 09:24:39 +00:00
Makefile Remove USES=compiler:c++11-lib from mail/evolution. While it fixes 2015-04-29 17:05:19 +00:00
pkg-descr
pkg-plist Update evolution suite to 3.12.10. 2015-01-15 16:49:18 +00:00