Bug 234410 - games/stockfish: fix build with GCC-based architectures
Summary: games/stockfish: 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: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-26 11:22 UTC by Piotr Kubaj
Modified: 2019-01-14 15:45 UTC (History)
2 users (show)

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


Attachments
patch (406 bytes, patch)
2018-12-26 11:22 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-12-26 11:22:52 UTC
Created attachment 200522 [details]
patch

This port sets CXX to g++, which breaks build with base GCC.

Set CXX instead to g++${GCC_DEFAULT} when gcc is used.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-01-14 15:44:37 UTC
A commit references this bug:

Author: swills
Date: Mon Jan 14 15:44:21 UTC 2019
New revision: 490272
URL: https://svnweb.freebsd.org/changeset/ports/490272

Log:
  games/stockfish: fix build with GCC-based architectures

  PR:		234410
  Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
  Approved by:	maintainer timeout (execve@gmail.com, >2 weeks)

Changes:
  head/games/stockfish/Makefile
Comment 2 Steve Wills freebsd_committer freebsd_triage 2019-01-14 15:45:26 UTC
Committed, thanks!