Bug 237623

Summary: security/klee: fix build with GCC-based architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Gleb Popov <arrowd>
Status: Closed FIXED    
Severity: Affects Only Me Flags: arrowd: maintainer-feedback+
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Piotr Kubaj freebsd_committer freebsd_triage 2019-04-28 12:21:23 UTC
Created attachment 204083 [details]
patch

Add USES=compiler:c++14-lang to fix build on GCC architectures.

Tested on powerpc64 and amd64.
Comment 1 Gleb Popov freebsd_committer freebsd_triage 2019-04-28 14:16:47 UTC
LGTM.
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-04-30 14:30:25 UTC
A commit references this bug:

Author: pkubaj
Date: Tue Apr 30 14:29:21 UTC 2019
New revision: 500497
URL: https://svnweb.freebsd.org/changeset/ports/500497

Log:
  security/klee: fix build with GCC-based architectures

  Add USES=compiler:c++14-lang to fix build on GCC architectures:
  Make Error in lib/Basic/CMakeLists.txt:
    Target "kleeBasic" requires the language dialect "CXX14" (with compiler
    extensions), but CMake does not know the compile flags to use to enable it.

  PR:		237623
  Approved by:	arrowd (maintainer), mat (mentor)
  Differential Revision:	https://reviews.freebsd.org/D20088

Changes:
  head/security/klee/Makefile