Skip to content

Commit

Permalink
devel/libcutl: Explain why USE_CXXSTD=c++11 is used
Browse files Browse the repository at this point in the history
While here, also add a note to its only consumer, devel/xsd, to mention
why it also needs USE_CXXSTD and when it can be removed.
  • Loading branch information
rakuco committed Jul 5, 2023
1 parent 8f41d77 commit b56d0bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions devel/libcutl/Makefile
Expand Up @@ -17,6 +17,8 @@ LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libexpat.so:textproc/expat2

USES= compiler:c++11-lib libtool
# libcutl 1.10.0 is not compatible with C++17, which is the default since clang
# 16. This means ports depending on it also need to use at most C++14.
USE_CXXSTD= c++11
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
Expand Down
3 changes: 3 additions & 0 deletions devel/xsd/Makefile
Expand Up @@ -23,6 +23,9 @@ LIB_DEPENDS= libcutl.so:devel/libcutl \
libxerces-c.so:textproc/xerces-c3

USES= compiler:c++11-lang ghostscript:build gmake localbase:ldflags tar:bzip2
# devel/libcutl 1.10.0 does not work with C++17 which is the default since
# clang 16. This can be removed once that port starts working with C++17 and
# has its own USE_CXXSTD removed.
USE_CXXSTD= c++11

MAKEFILE= makefile
Expand Down

0 comments on commit b56d0bc

Please sign in to comment.