Created attachment 150701 [details]
patch to unbreak mail/evolution build on FreeBSD 8
After applying the patch in PR 196031 to unbreak the build of www/webkit-gtk3, the build of mail/evolution fails on FreeBSD 8 with various linker errors that are similar to those that occur when building x11-fm/sushi.
See <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196078> (x11-fm/sushi) for more details.
This patch fixes these problems by adding USES=compiler:c++11-lib, which should be a no-op on systems where clang is the base compiler, but which will force the use of gcc from ports when our ancient version of gcc is the base compiler. It also will add -L/usr/local/lib/gcc48 to LDFLAGS. This patch also appends -lstdc++ to LDFLAGS so that the linker will select libstdc++ from the gcc port instead of the older version of libstdc++ in base.
I am not sure if this is the best fix, but it unbreaks the build for me.
Auto-assigned to maintainer gnome@FreeBSD.org
A commit references this bug:
Date: Thu Jan 15 16:49:22 UTC 2015
New revision: 377107
Update evolution suite to 3.12.10.
Fix build of mail/evolution on 9.x and 8.x after webkit updates 
PR: 196079 
Submitted by: truckman@, lawrence chen <firstname.lastname@example.org>