From owner-dev-commits-ports-main@freebsd.org Thu Sep 30 22:07:38 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CD3B9671553; Thu, 30 Sep 2021 22:07:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HL6mp4vFtz4xDJ; Thu, 30 Sep 2021 22:07:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 83B6D139E2; Thu, 30 Sep 2021 22:07:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 18UM7cgO095952; Thu, 30 Sep 2021 22:07:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18UM7cro095951; Thu, 30 Sep 2021 22:07:38 GMT (envelope-from git) Date: Thu, 30 Sep 2021 22:07:38 GMT Message-Id: <202109302207.18UM7cro095951@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dave Cottlehuber Subject: git: c3a334e9f6f8 - main - lang/erlang-runtime24: import changes from the (future) lang/erlang. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dch X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c3a334e9f6f863f76a6491fd081f395d5b38f7e4 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Sep 2021 22:07:38 -0000 The branch main has been updated by dch: URL: https://cgit.FreeBSD.org/ports/commit/?id=c3a334e9f6f863f76a6491fd081f395d5b38f7e4 commit c3a334e9f6f863f76a6491fd081f395d5b38f7e4 Author: Jimmy Olgeni AuthorDate: 2021-09-13 21:22:34 +0000 Commit: Dave Cottlehuber CommitDate: 2021-09-30 22:02:10 +0000 lang/erlang-runtime24: import changes from the (future) lang/erlang. - Add KQUEUE option - Add ODBC_CFLAGS and ODBC_LDFLAGS - Remove unnecessary call to "./otp_build autoconf" and patch "configure" rather than "configure.src" - Apply portclippy fixes --- lang/erlang-runtime24/Makefile | 21 +++++++++++---------- .../files/{patch-configure.src => patch-configure} | 4 ++-- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/lang/erlang-runtime24/Makefile b/lang/erlang-runtime24/Makefile index a66fea9c3edb..49c22f3a68fd 100644 --- a/lang/erlang-runtime24/Makefile +++ b/lang/erlang-runtime24/Makefile @@ -14,15 +14,14 @@ LICENSE= APACHE20 BROKEN_sparc64= Fails to build: error: fp_except undeclared USES= autoreconf:build cpe gmake ncurses perl5 +CPE_VENDOR= erlang +CPE_PRODUCT= erlang/otp USE_GITHUB= nodefault GH_ACCOUNT= erlang:otp,corba GH_PROJECT= otp:otp corba:corba GH_TAGNAME= 5.0.2:corba USE_PERL5= build -CPE_VENDOR= erlang -CPE_PRODUCT= erlang/otp - GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-dirty-schedulers \ --enable-kernel-poll \ @@ -38,8 +37,9 @@ WRKSRC= ${WRKSRC_otp} ERLANG_LIB= ${PORTNAME}${PORTVERSION:C/\..*//} -OPTIONS_DEFINE= CHUNKS CORBA DTRACE JAVA ODBC OPENSSL SCTP SHARING WX -OPTIONS_DEFAULT= CHUNKS CORBA DTRACE OPENSSL SCTP SHARING +OPTIONS_DEFINE= CHUNKS CORBA DTRACE JAVA KQUEUE ODBC OPENSSL SCTP \ + SHARING WX +OPTIONS_DEFAULT= CHUNKS CORBA DTRACE KQUEUE OPENSSL SCTP SHARING .if !exists(/usr/sbin/dtrace) OPTIONS_EXCLUDE+= DTRACE @@ -54,8 +54,9 @@ OPTIONS_EXCLUDE_armv7= DTRACE OPTIONS_EXCLUDE_i386= DTRACE OPTIONS_EXCLUDE_riscv64= DTRACE -CHUNKS_DESC= Enable in-line documentation in erlang console +CHUNKS_DESC= Enable in-line documentation in Erlang console CORBA_DESC= Enable Corba support +KQUEUE_DESC= Enable Kernel Poll (kqueue) support SCTP_DESC= Enable SCTP support SHARING_DESC= Enable term copy-and-share support WX_DESC= Enable WX application @@ -71,9 +72,12 @@ DTRACE_VARS= STRIP="" JAVA_CONFIGURE_WITH= javac JAVA_CONFIGURE_ENV= ac_cv_prog_JAVAC="${JAVAC}" JAVA_VARS= USE_JAVA=yes +KQUEUE_CONFIGURE_ENABLE= kernel-poll ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC -ODBC_CONFIGURE_WITH= odbc ODBC_USES= localbase +ODBC_CONFIGURE_WITH= odbc +ODBC_CFLAGS= -I/usr/local/include +ODBC_LDFLAGS= -L/usr/local/lib OPENSSL_USES= ssl OPENSSL_CONFIGURE_WITH= ssl=${OPENSSLBASE} SCTP_CONFIGURE_ENABLE= sctp @@ -98,9 +102,6 @@ MAKE_ARGS+= ARCH=x86 MAKE_ARGS+= ARCH=arm .endif -pre-configure: - @cd ${WRKSRC} && ./otp_build autoconf - pre-configure-WX-off: echo "disabled by port options" > ${WRKSRC}/lib/debugger/SKIP echo "disabled by port options" > ${WRKSRC}/lib/et/SKIP diff --git a/lang/erlang-runtime24/files/patch-configure.src b/lang/erlang-runtime24/files/patch-configure similarity index 95% rename from lang/erlang-runtime24/files/patch-configure.src rename to lang/erlang-runtime24/files/patch-configure index 1d4dd2178a43..9713b597b9dc 100644 --- a/lang/erlang-runtime24/files/patch-configure.src +++ b/lang/erlang-runtime24/files/patch-configure @@ -1,5 +1,5 @@ ---- configure.src.orig 2021-05-27 09:36:50 UTC -+++ configure.src +--- configure.orig 2021-09-13 14:43:59 UTC ++++ configure @@ -55,7 +55,7 @@ skip_applications= while test $# != 0; do case $1 in