Bug 239635

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

Description Piotr Kubaj freebsd_committer freebsd_triage 2019-08-03 22:44:54 UTC
Created attachment 206261 [details]
patch

Needs C++11 compiler to build:
  target_compile_features The compiler feature "cxx_auto_type" is not known
  to CXX compiler

  "GNU"

  version 4.2.1.

It also tries to link to libepoll-shim.so (installed by libfabric), so link to it and and devel/libepoll-shim to LIB_DEPENDS.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-08-29 19:38:52 UTC
A commit references this bug:

Author: pkubaj
Date: Thu Aug 29 19:38:37 UTC 2019
New revision: 510182
URL: https://svnweb.freebsd.org/changeset/ports/510182

Log:
  misc/adios2: fix build with GCC-based architectures

  Needs C++11 compiler to build:

  target_compile_features The compiler feature "cxx_auto_type" is not known
  to CXX compiler

  "GNU"

  version 4.2.1.
  It also tries to link to libepoll-shim.so (installed by libfabric), so link to it and and devel/libepoll-shim to LIB_DEPENDS.

  PR:		239635
  Approved by:	yuri (maintainer), linimon (mentor)
  Differential Revision:	https://reviews.freebsd.org/D21400

Changes:
  head/misc/adios2/Makefile