Bug 250376

Summary: devel/abseil: Should be flavorized to reflect the c++NN level
Product: Ports & Packages Reporter: Yuri Victorovich <yuri>
Component: Individual Port(s)Assignee: Alexey Dokuchaev <danfe>
Status: New ---    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (danfe)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Yuri Victorovich freebsd_committer 2020-10-15 18:34:28 UTC
Created attachment 218773 [details]
patch

Hello Alexey,

Without -std=c++17 devel/abseil causes dependent port failure, for example math/or-tools (version 8.0) fails to compile. See the suggestion of or-tools' upstream maintainer that abseil needs c++17 here: https://github.com/google/or-tools/issues/2196#issuecomment-707762185


Thank you,
Yuri
Comment 1 Yuri Victorovich freebsd_committer 2020-10-15 19:20:45 UTC
Comment on attachment 218773 [details]
patch

I take back the original patch.

It looks like this port should be flavorized based on the C++ standard used in it, since users seem to be sensitive to this.
Comment 2 Yuri Victorovich freebsd_committer 2020-10-15 19:39:12 UTC
I suggested the upstream to uniquify paths based on CMAKE_CXX_STANDARD: https://github.com/abseil/abseil-cpp/issues/820

Otherwise it wouldn't be possible to update math/or-tools to 8.0.