From nobody Thu Oct 06 14:49:24 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MjvTw4jlLz4dlxX; Thu, 6 Oct 2022 14:49:24 +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 4MjvTw3y9Gz3Ls9; Thu, 6 Oct 2022 14:49:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665067764; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XSov1qKe5t4/zaF3Wxvam18ljO/MyaA5PpkXshQe1/o=; b=iReJp00NhGfhQ82GTWzBuCskQtcHwB3b2FjqYiXoLrBznclqVcz7eoc8NSyxN+RKfF3jJ3 KiLWfhBeC9/Cs28Y4E1g/GZ2sDyHvBXvVKF6TcZuMYwN7M5LZPozwNBtMmvtJaUHQkGzWm zFuej8kpYmK5+QK4+T1rSCIlxpgY/J0k5g3xOfvAHnofsS9N+APhTdP1F7ygZAB5OQ6eFG Va0WfO1wpTRflE56oSKLkLg3j6XZJMJpjXFbHZZV/cuH7tzGApvNSVHPmD7VAmF2lkuCw5 orP38cOpGI1oVEwKtSu7N+vqfyAPemmqqShnSPRoD3CGXHiiP/d1AnJLnqehaA== 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 4MjvTw2m40zH9y; Thu, 6 Oct 2022 14:49:24 +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 296EnO8t005117; Thu, 6 Oct 2022 14:49:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 296EnOBn005116; Thu, 6 Oct 2022 14:49:24 GMT (envelope-from git) Date: Thu, 6 Oct 2022 14:49:24 GMT Message-Id: <202210061449.296EnOBn005116@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Adam Weinberger Subject: git: e474d82d3e8c - main - devel/lua-language-server: Attempt to fix build on 12 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: adamw X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e474d82d3e8ca0824cf34a2bb5fc65c3467d9a9b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665067764; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XSov1qKe5t4/zaF3Wxvam18ljO/MyaA5PpkXshQe1/o=; b=noR6agP49vymBaiRigf3EBS/Zr6Ckpnbo/ukrGpUYrPQY53TGdMZpBGq4QTEgbdzrOwdZE tTCFTuLU6ih3o/DcH5/mIF76W4QOuJcJ2Pss5rb4BrDMFa4FFRbEkMq5HsR/ngZ1Eqn/SP ssh/NlBTf4IpcwfgRJn5uwzuicjOVZ0HNxWQKJ6Uo7gr2NRQz1Yg6T2+I3KpDwS9LPa46j e62zvJMxkokBBlwT1SXFOgksKXgbk0AOY0nswq7zGFBhppzQximE96a9JpyZnwOGAdXf++ xFxLeF0xkxLrXd+fnGtc96YOIhEKhqzF1kuHV+M6Y4GsJAGznBEWMm3LPkyA2g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665067764; a=rsa-sha256; cv=none; b=HNIklH9AuMrajbvNTOxW8TDfhbJ6I82C+yetWJTkPxU+8osU3yH/ClDlybnc47RbTWLQsR 9kauPLvAoPb2fyEg9ZVTqXkngXdyo5enhv2MT8OUV71vCSYNlGdR/ccX8MGo+Q/zPQdWoi hxJXr95xRk+x2xbPqngSvvGzNyBE0u+5EJb3d2jSapyAjW5FTUH2ZcJMNG1P1mc7jSTLcC xq6iHcJFIwsIB611DXH8yHbQzGtvfGXGdmpADD0JzSCoq/1mPnoqqj1hYm7PY4YCXzaIjV 6Iq+jUDr96/bGdfiAyNbrlopm7WgYdTevK+rFARBbg5t+uRZnUpNBN5Dn+HiEQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by adamw: URL: https://cgit.FreeBSD.org/ports/commit/?id=e474d82d3e8ca0824cf34a2bb5fc65c3467d9a9b commit e474d82d3e8ca0824cf34a2bb5fc65c3467d9a9b Author: Adam Weinberger AuthorDate: 2022-10-06 14:49:12 +0000 Commit: Adam Weinberger CommitDate: 2022-10-06 14:49:19 +0000 devel/lua-language-server: Attempt to fix build on 12 --- devel/lua-language-server/Makefile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/devel/lua-language-server/Makefile b/devel/lua-language-server/Makefile index 58852b04bb0c..163329c1562a 100644 --- a/devel/lua-language-server/Makefile +++ b/devel/lua-language-server/Makefile @@ -11,7 +11,9 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libinotify.so:devel/libinotify -USES= dos2unix lua:build ninja:make +# BROKEN_FREEBSD_12= 3rd/bee.lua/bee/thread/spinlock.h:9:14: fatal error: 'immintrin.h' file not found + +USES= compiler:features dos2unix lua:build ninja:make USE_GITHUB= yes GH_ACCOUNT= sumneko GH_TUPLE= actboy168:bee.lua:a749943:bee/3rd/bee.lua \ @@ -33,6 +35,15 @@ PLIST_FILES= bin/lua-language-server \ ${DATADIR_REL}/main.lua PORTDATA= locale meta script +.include + +.if ${CHOSEN_COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 130 +BUILD_DEPENDS+= llvm13>0:devel/llvm13 +CPP= ${LOCALBASE}/bin/clang-cpp13 +CC= ${LOCALBASE}/bin/clang13 +CXX= ${LOCALBASE}/bin/clang++13 +.endif + # post-extract: # ${CP} -rp ${WRKSRC}/3rd/bee.lua ${WRKSRC}/3rd/luamake/3rd