diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2025-08-11 15:48:26 +0200 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2025-08-11 17:08:39 +0200 |
commit | 5c0c2cb6f37762bda399fb108647a05ceacb0e4f (patch) | |
tree | af0edd222c75af58705da55848c0b98b97cc428e | |
parent | devel/ruby-build: Update to 20250811 (diff) |
lang/ecl: Add non-default CXX option to enable C++ support
ECL supports compiling with C++ (instead of the C compiler), for embedded
applications written in C++. This is available as a non-default configure
option in ECL.
This patch adds a non-default CXX option that allows someone building from
ports to turn on C++ support.
PR: 288784
-rw-r--r-- | lang/ecl/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lang/ecl/Makefile b/lang/ecl/Makefile index d3fb0ca3a0e4..694b36521fca 100644 --- a/lang/ecl/Makefile +++ b/lang/ecl/Makefile @@ -18,7 +18,6 @@ LIB_DEPENDS= libgc.so:devel/boehm-gc \ RUN_DEPENDS= ${LOCALBASE}/lib/libatomic_ops.a:devel/libatomic_ops USES= autoreconf gmake localbase makeinfo perl5 tar:tgz -USE_CSTD= c99 USE_LDCONFIG= yes USE_PERL5= build GNU_CONFIGURE= yes @@ -34,17 +33,20 @@ AUTORECONF_WRKSRC= ${WRKSRC}/src INFO= ecl PLIST_SUB= VERSION="${PORTVERSION}" -OPTIONS_DEFINE= ASDF DFFI SAGE SOCKETS THREADS X11 +OPTIONS_DEFINE= ASDF CXX DFFI SAGE SOCKETS THREADS X11 OPTIONS_DEFAULT= ASDF DFFI SAGE SOCKETS THREADS OPTIONS_SUB= yes ASDF_DESC= Enable ASDF building facility +CXX_DESC= Enable C++ support DFFI_DESC= Dynamic foreign-function support SAGE_DESC= Build with patches for sage SOCKETS_DESC= Enable socket interface ASDF_CONFIGURE_ON= --with-asdf=yes ASDF_CONFIGURE_OFF= --with-asdf=no +CXX_CONFIGURE_ON= --with-cxx +CXX_VARS_OFF= USE_CSTD=c99 DFFI_LIB_DEPENDS= libffi.so:devel/libffi DFFI_CONFIGURE_ON= --with-dffi=system DFFI_CONFIGURE_OFF= --with-dffi=no |