From nobody Fri Aug 18 06:57:23 2023 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 4RRt3S50lFz4qnqr; Fri, 18 Aug 2023 06:57: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 4RRt3S0P5mz4bQk; Fri, 18 Aug 2023 06:57:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692341844; 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=xmleBpVzAzLVfoDvy4n+aKQ/YRArLTzEV3fKphkE6OA=; b=N/aH2ri2jxI8Zc7byWo34X38EKiLWS7ShE/dFMCUyoJhy6VZHu0CiZL6HIuy431uizurxO NawOHFVNX44JSbythATOgoHw1dpo2nfO/lb6V0uPsDGLC8Drsuu6JfLz7EsbZRXpjC1x3r 7EJfYaYEbpRQeIz1Zq7aIW4B78hFrndKWewRu5vQTN53RwGociRZIP9vmS/LRWlg9oEgwY hA5064l/XPlsTYZb1n4DS2QiIRspYVFzgURxfDpWENnanmMDQjJ3YjtlC4pKW/WkHJ+XlD 8No7gZf1m+YPlhe/6266Grcz61bwDmTZTcXa0csHsxEzff4uTe7uZQtAH+nSgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692341844; 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=xmleBpVzAzLVfoDvy4n+aKQ/YRArLTzEV3fKphkE6OA=; b=mIoE0oMLTldsWJrrhBGKv9MnffTJDVPkxMI7SYI1bdtbMCPRysjR1nB97lJFlLmY0/bnMW maDM7/tBT5XUQfcHLM99il1OsaIYvQsTxSjhPmwpz4FBRDEjRqDFrwuZdF2+u06+6L6LbQ W4t3oeZtnwkKDhj5GIe7+uVEyCLHt2/akBki789xO3/HCKJNgjPiXAWDZ0XwTll5/BzL/4 lbk1U2etdPN2bnaXfetZb+IKt6DulHXPnWAFIx31OkE0uUpZ2rxigD2I2ckKOrFel4jreZ Ffr9P2YEJqxaQYyoP1SisuwSF2bcZ5EmhIqPB2SQENTnk5KxjfDUtA0kjryPkA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692341844; a=rsa-sha256; cv=none; b=WCVR7409Xx3dBtH+w+iL7z8juNQkbnA86pOM8qsInYMV/oe3i6+DndDrgqqC/4SAbB0Z4R xYxAx1Jo0cZVmz2Bpqbj0KGV8r/xGmApjE5A7JGqYVf5xfsyfi0vkHke8Bk3PrYZ0S6djE Yx6Mu1QPuQ/EzjaqRhKRzfE45wL5O2IYSIRWVkK7+j21MVjZiFUqHQp0zghXFrt7woSLo2 4yMoNRaqaoea4Cq9ESCDcNOKW6PLBoW5A2JqqqSshdQ59b5KZSGW8KoxlspGK8/euKsl7n 3SboyGZxiXsBGt2mqxl1nMEk8j4ovUukJxy5MzevmsXS2qTwUNhvgOU4WC7HTw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RRt3R6chMz15YL; Fri, 18 Aug 2023 06:57:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37I6vNFt082983; Fri, 18 Aug 2023 06:57:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37I6vNjd082980; Fri, 18 Aug 2023 06:57:23 GMT (envelope-from git) Date: Fri, 18 Aug 2023 06:57:23 GMT Message-Id: <202308180657.37I6vNjd082980@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 7ee8c74b4662 - main - lang/spidermonkey91: Fix build on 14 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7ee8c74b4662b389fc775cf60cd0a07dce400804 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=7ee8c74b4662b389fc775cf60cd0a07dce400804 commit 7ee8c74b4662b389fc775cf60cd0a07dce400804 Author: Muhammad Moinur Rahman AuthorDate: 2023-08-18 05:36:35 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-18 06:57:12 +0000 lang/spidermonkey91: Fix build on 14 For now this is not the ideal solution. Not sure why there is a check for llvm version 80. So not touching that part of the code at the moment. This will require further investigation later. Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- lang/spidermonkey91/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lang/spidermonkey91/Makefile b/lang/spidermonkey91/Makefile index a89a1d87b963..99403056b15b 100644 --- a/lang/spidermonkey91/Makefile +++ b/lang/spidermonkey91/Makefile @@ -52,6 +52,17 @@ CONFIGURE_ENV= HOST_CC=${CC} \ BINARY_ALIAS= python3=${PYTHON_CMD} PLIST_SUB= SP_VER=${SP_VER} +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +USES+= llvm:max=15 +CC= clang${LLVM_VERSION} +CPP= clang-cpp${LLVM_VERSION} +CXX= clang++${LLVM_VERSION} +CONFIGURE_ENV+= LLVM_CONFIG=llvm-config${LLVM_VERSION} \ + LLVM_OBJDUMP=llvm-objdump${LLVM_VERSION} +.endif + .include .if ${ARCH} == amd64