Bug 232386 - lang/libobjc2: fix build with GCC-based architectures
Summary: lang/libobjc2: fix build with GCC-based architectures
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: David Chisnall
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-18 15:21 UTC by Piotr Kubaj
Modified: 2018-11-02 01:54 UTC (History)
2 users (show)

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


Attachments
patch (921 bytes, patch)
2018-10-18 15:21 UTC, Piotr Kubaj
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer freebsd_triage 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 freebsd_triage 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