Skip to content

Commit

Permalink
mkvtoolnix: Assume gcc5+ doesn't need to be blacklisted
Browse files Browse the repository at this point in the history
since they claim to support C++14.
  • Loading branch information
ryandesign committed Apr 2, 2018
1 parent 7d4eb7f commit 943147a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions multimedia/mkvtoolnix/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,9 @@ post-patch {

# mkvtoolnix's configure tests for certain c++14 features. Xcode 6.2 (clang 600.0.57)
# is known to fail. Xcode 7.2.1 (clang 700.1.81) is known to pass. Assume 700+ is OK.
# ToDo: test building with gcc 4.9 and later but blacklist all gcc for now
# Assume gcc 5+ is OK.
compiler.fallback-append macports-clang-3.7
compiler.blacklist-append { clang < 700 } \
*gcc*
compiler.blacklist-append {clang < 700} *gcc-3.* *gcc-4.*

set cxx_stdlibflags {}
if {[string match *clang* ${configure.cxx}]} {
Expand Down

0 comments on commit 943147a

Please sign in to comment.