git: 515bf34a3941 - main - textproc/ctpp2: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 23 Jul 2023 18:45:36 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=515bf34a3941486987d01e0dca50c5cb6703245d commit 515bf34a3941486987d01e0dca50c5cb6703245d Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-23 18:44:48 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-23 18:45:17 +0000 textproc/ctpp2: Fix build with llvm16 - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- textproc/ctpp2/Makefile | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/textproc/ctpp2/Makefile b/textproc/ctpp2/Makefile index a49329f60d85..19a53e0f4040 100644 --- a/textproc/ctpp2/Makefile +++ b/textproc/ctpp2/Makefile @@ -8,38 +8,39 @@ MAINTAINER= ports@FreeBSD.org COMMENT= C++ library to use templates in C/C++ projects, version 2 WWW= http://ctpp.havoc.ru/ -USES= cmake gettext compiler:c++11-lang +USES= cmake compiler:c++11-lang gettext +USE_CXXSTD= c++14 USE_LDCONFIG= yes CMAKE_ARGS= -DICONV_INCLUDE=${ICONV_INCLUDE_PATH} + PLIST_SUB+= PORTVERSION=${PORTVERSION} +PORTDOCS= template_language.html OPTIONS_DEFINE= DEBUG DISCARD_ILSEQ DOCS MD5 OPTIMIZATION TRANSLITERATE OPTIONS_DEFAULT= DISCARD_ILSEQ MD5 OPTIMIZATION TRANSLITERATE +OPTIONS_SUB= yes + DEBUG_DESC= Enable debug output -OPTIMIZATION_DESC= Enable optimization -MD5_DESC= Enable md5 support DISCARD_ILSEQ_DESC= Discard illegal sequence and continue +MD5_DESC= Enable md5 support +OPTIMIZATION_DESC= Enable optimization TRANSLITERATE_DESC= Enable transliteration in the conversion -OPTIONS_SUB= yes - DEBUG_CMAKE_ON= -DDEBUG_MODE=ON DEBUG_CMAKE_OFF= -DDEBUG_MODE=OFF +DISCARD_ILSEQ_CMAKE_ON= -DICONV_DISCARD_ILSEQ=ON +DISCARD_ILSEQ_CMAKE_OFF= -DICONV_DISCARD_ILSEQ=OFF DOCS_BUILD_DEPENDS= rst2html:textproc/py-docutils DOCS_CMAKE_ON= -DENABLE_DOCS=ON DOCS_CMAKE_OFF= -DENABLE_DOCS=OFF MD5_CMAKE_ON= -DMD5_SUPPORT=ON MD5_CMAKE_OFF= -DMD5_SUPPORT=OFF -DISCARD_ILSEQ_CMAKE_ON= -DICONV_DISCARD_ILSEQ=ON -DISCARD_ILSEQ_CMAKE_OFF= -DICONV_DISCARD_ILSEQ=OFF -TRANSLITERATE_CMAKE_ON= -DICONV_TRANSLITERATE=ON -TRANSLITERATE_CMAKE_OFF= -DICONV_TRANSLITERATE=OFF -TRANSLITERATE_USES= iconv:translit -TRANSLITERATE_USES_OFF= iconv OPTIMIZATION_CMAKE_ON= -DENABLE_OPTIMIZATION=ON OPTIMIZATION_CMAKE_OFF= -DENABLE_OPTIMIZATION=OFF - -PORTDOCS= template_language.html +TRANSLITERATE_USES= iconv:translit +TRANSLITERATE_USES_OFF= iconv +TRANSLITERATE_CMAKE_ON= -DICONV_TRANSLITERATE=ON +TRANSLITERATE_CMAKE_OFF= -DICONV_TRANSLITERATE=OFF .include <bsd.port.mk>