Bug 232386

Summary: lang/libobjc2: fix build with GCC-based architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: David Chisnall <theraven>
Status: Closed FIXED    
Severity: Affects Only Me CC: linimon, pkubaj
Priority: --- Flags: bugzilla: maintainer-feedback? (theraven)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Piotr Kubaj freebsd_committer 2018-10-18 15:21:35 UTC
Created attachment 198302 [details]
patch

USES=objc:compiler sets the compiler, but then USES=compiler:c++11-lang overwrites it. Remove USES=compiler:c++11-lang, to use the proper compiler. Also use libstdc++ on GCC architectures to fix build.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 commit-hook freebsd_committer 2018-11-02 01:54:16 UTC
A commit references this bug:

Author: linimon
Date: Fri Nov  2 01:54:08 UTC 2018
New revision: 483764
URL: https://svnweb.freebsd.org/changeset/ports/483764

Log:
  USES=objc:compiler sets the compiler, but then USES=compiler:c++11-lang
  overwrites it.  Remove the latter to use the proper compiler. Also use
  libstdc++ on GCC architectures to fix build.

  While here, pet portlint.

  PR:		232386
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Changes:
  head/lang/libobjc2/Makefile