Bug 236328

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

Description Piotr Kubaj freebsd_committer freebsd_triage 2019-03-06 18:00:28 UTC
Created attachment 202656 [details]
patch

This port needs C++11-compatible compiler to build. Add USES=compiler:c++11-lang to fix build on GCC architectures.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2019-03-06 18:22:40 UTC
Thanks for the patch.

Testing in progress...
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-03-06 18:32:32 UTC
A commit references this bug:

Author: fernape
Date: Wed Mar  6 18:32:27 UTC 2019
New revision: 494828
URL: https://svnweb.freebsd.org/changeset/ports/494828

Log:
  devel/cpptest: fix build with GCC-based architectures

  Request a c++ 11 capable compiler since the port uses c++ 11 features.

  PR:	236328
  Submitted by:	pkubaj@anongoth.pl

Changes:
  head/devel/cpptest/Makefile
Comment 3 Fernando Apesteguía freebsd_committer freebsd_triage 2019-03-06 18:33:52 UTC
Builds fine in {11.2,12.0}{i386,amd64} and 13 i386

Thanks!