Bug 196079 - [patch] unbreak mail/evolution build on FreeBSD 8
Summary: [patch] unbreak mail/evolution build on FreeBSD 8
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-gnome (Nobody)
Depends on: 196031
  Show dependency treegraph
Reported: 2014-12-17 23:33 UTC by Don Lewis
Modified: 2015-01-15 16:52 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (gnome)

patch to unbreak mail/evolution build on FreeBSD 8 (844 bytes, patch)
2014-12-17 23:33 UTC, Don Lewis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Don Lewis freebsd_committer 2014-12-17 23:33:35 UTC
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.
Comment 1 Bugzilla Automation freebsd_committer 2014-12-17 23:33:35 UTC
Auto-assigned to maintainer gnome@FreeBSD.org
Comment 2 commit-hook freebsd_committer 2015-01-15 16:50:12 UTC
A commit references this bug:

Author: kwm
Date: Thu Jan 15 16:49:22 UTC 2015
New revision: 377107
URL: https://svnweb.freebsd.org/changeset/ports/377107

  Update evolution suite to 3.12.10.

  Fix build of mail/evolution on 9.x and 8.x after webkit updates [1]

  PR:		196079 [1]
  		196706 [1]
  Submitted by:	truckman@, lawrence chen <beastie@tardisi.com>