From nobody Tue Jan 14 04:03:55 2025 X-Original-To: dev-commits-ports-branches@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 4YXFqb4z9Qz5j58Z; Tue, 14 Jan 2025 04:03:55 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YXFqb3w6Mz3Ysy; Tue, 14 Jan 2025 04:03:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736827435; 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=H8/PRFtnRk7NIhcHG2kZ7sKVPQMYaLPYeAlDombjo+A=; b=wl+8Xo4tL9DS3LNeh7WCAyCZBDqUZcnwRwysqB9v6feewakv7GLfbXfnT35ATT7PJ72Br1 lEhALcFLvuRy17T2XlsYVZOv/Bn+byTgNpTlH36YbtF5C4TNRmCMw/7mELFsv5vTAu9TM0 BmL2h/87pbyew1QFl+PSuUSdpFQzeSYBzWpsNxzQDgl2Fl5t+YoIiYHExkVmZX107D/+Jr e9JMrKN1qrBhZDy8V6xZZ/Caigz5c2oG0lJ5o6KUxgp6kA+lusCQFEGO1zfR/2VtXCQVuq sfsjoEqzMfZWDfInGP9aTRPGoTAC3fjL4p0BcYDvHlx9+rM3s6GdTRzvESgP3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736827435; 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=H8/PRFtnRk7NIhcHG2kZ7sKVPQMYaLPYeAlDombjo+A=; b=ntMuPRIY+IwDWkfSWS/1FvDjhyvBwF9zFHAZ1An8fO21Kisznht9ghdtjq3yAUciEYuYYi Yr7WKZT7VU58tRshN048wS0n5alexA0K0Aw4ygI48K183Qt0/vcNtFHgQsrj71nr4b+cLb zac3fwsUQ21aOd4LE2NdMm6KxRuZnU92IIua6unPZQZEsmkBn35oVKgkDHTNJ1ZwMHuue5 bA/SE4UYFncj+BkFXsMuheXJO72hafUmp5jVrlhp1dhiWvM/QN3vHOGTYIA/PYgE/HjE25 uGLDsD3kP4Gd/p8cOzC4WXX2/iy4sAAFrQTTZJ39f6OTLMV/rtjlnjc+jMgUng== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736827435; a=rsa-sha256; cv=none; b=rXThhufunjEfE8l79HBbHF049DR89kiikxyIlSBcYVM8qdDCmsqwKoGxz8xSQIvIbryYRO VB4b5gfe+vIk3qna0S8Lo3tEkJMVhp2A0RZxODV6+JL4Tke2+BoGP7DUKYzTNGn81GL91l pkNR9azfCF3t62TnZK+QPVhQCO8Ka7qMtmvTYiEcAfLZeTV6y36G84dWoPQwd3sNKDVJ6G ILudkxpAfHOVyzmQEgVrTB4RqPoheKel0aJ2eWMZnDxMyA5Tt3SwPc+9i/gQ3z7M9ROtWO Sq7d0p16FpHaVGtfFLRVLb1sTg5Qj36cRfwQPJxAaNZnkAxj9L0vOHU5M+dxZQ== 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 4YXFqb3Cqlz116y; Tue, 14 Jan 2025 04:03:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 50E43tHT015981; Tue, 14 Jan 2025 04:03:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50E43tfr015978; Tue, 14 Jan 2025 04:03:55 GMT (envelope-from git) Date: Tue, 14 Jan 2025 04:03:55 GMT Message-Id: <202501140403.50E43tfr015978@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Charlie Li Subject: git: a8abb4ba3a71 - 2025Q1 - devel/wasi-libc: fix build when ${FLAVOR} is not specified List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-branches@freebsd.org Sender: owner-dev-commits-ports-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vishwin X-Git-Repository: ports X-Git-Refname: refs/heads/2025Q1 X-Git-Reftype: branch X-Git-Commit: a8abb4ba3a710b8636de580f949feb26311a3f97 Auto-Submitted: auto-generated The branch 2025Q1 has been updated by vishwin: URL: https://cgit.FreeBSD.org/ports/commit/?id=a8abb4ba3a710b8636de580f949feb26311a3f97 commit a8abb4ba3a710b8636de580f949feb26311a3f97 Author: Charlie Li AuthorDate: 2025-01-14 03:33:35 +0000 Commit: Charlie Li CommitDate: 2025-01-14 04:02:38 +0000 devel/wasi-libc: fix build when ${FLAVOR} is not specified To have separate flavours per supported LLVM version, USES=llvm is version-locked to each flavour as USES=llvm:${FLAVOR}. This allows ${LLVM_VERSION} to be used throughout the Makefile for consistency. However, when ${FLAVOR} is not specified, ${LLVM_VERSION} uses ${LLVM_DEFAULT} which may not match the first item in ${FLAVORS}, resulting in missing dependency. Specify a fallback ${FLAVOR} when not otherwise set so USES=llvm is guaranteed a version lock. Consumers always explicitly specify ${FLAVOR} so this problem is not generally exposed. Reported by: dim PR: 282265 (cherry picked from commit c0c57c629e25107ee5ead1f631fce3586280845f) --- devel/wasi-libc/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/devel/wasi-libc/Makefile b/devel/wasi-libc/Makefile index 88225814be6d..b18da6717f9c 100644 --- a/devel/wasi-libc/Makefile +++ b/devel/wasi-libc/Makefile @@ -18,6 +18,7 @@ LICENSE_NAME_LLVM2= Apache License 2.0 with LLVM Exceptions LICENSE_PERMS_LLVM2= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept FLAVORS= 18 19 17 +FLAVOR?= ${FLAVORS:[1]} USES= gmake llvm:${FLAVOR} USE_GITHUB= yes