Bug 236328 - devel/cpptest: fix build with GCC-based architectures
Summary: devel/cpptest: 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: Fernando Apesteguía
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-06 18:00 UTC by Piotr Kubaj
Modified: 2019-03-06 18:33 UTC (History)
2 users (show)

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


Attachments
patch (319 bytes, patch)
2019-03-06 18:00 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 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!