Bug 196079

Summary: [patch] unbreak mail/evolution build on FreeBSD 8
Product: Ports & Packages Reporter: Don Lewis <truckman>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed FIXED    
Severity: Affects Some People CC: kwm
Priority: --- Flags: bugzilla: maintainer-feedback? (gnome)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 196031    
Bug Blocks:    
Description Flags
patch to unbreak mail/evolution build on FreeBSD 8 none

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>