From nobody Tue Oct 18 09:17:41 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 4Ms7Yd6xsjz4gVv9; Tue, 18 Oct 2022 09:17:41 +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 4Ms7Yd6JrSz3tKn; Tue, 18 Oct 2022 09:17:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666084661; 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=iK00hWML/8Ob0Vfpx3+dFPasLw1Bh3FeYCIv9d2qYOc=; b=skbDJ+gGDvl8oOkHghivPAakFqmUFDo5zxZ2vbKVB9vVLwDk7xP1Alfp/DyNjSrZMm4D2c BI2K3rpywAjBeG8AhsfTmHOO89EEMUDQYRQe5oe8v7mb5nP/VTdtrvOkD9JlYXBPyQgRvS EVbdz2ylZPx9sWQ1ShEoB42nbmy6R+/k7ywGe0RWFhoFZ/9sEGqbaO1t+0IBu4ZKGNum8i njo3ptqQ4Z6DdD1QCU/dpxHfxw7ESOOTYR51X950xZKDjA7tmDGPg7XaXLfueqPMMxxtxn tMxtdjZMLdT9S2J/3zHTgmkpqjN0TDlwZoo7jdidGMxe0UzrLKLA4RjA1fC0WQ== 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 4Ms7Yd5Kgyz17Cs; Tue, 18 Oct 2022 09:17:41 +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 29I9HfBS034095; Tue, 18 Oct 2022 09:17:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29I9Hf5s034094; Tue, 18 Oct 2022 09:17:41 GMT (envelope-from git) Date: Tue, 18 Oct 2022 09:17:41 GMT Message-Id: <202210180917.29I9Hf5s034094@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Gleb Popov Subject: git: 33ec243a799f - main - Uses/cmake.mk: Always pass FETCHCONTENT_FULLY_DISCONNECTED=1 to CMAKE_ARGS. 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: arrowd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 33ec243a799f8eae4402334bc2e851ac1ad3d293 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666084661; 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=iK00hWML/8Ob0Vfpx3+dFPasLw1Bh3FeYCIv9d2qYOc=; b=dbSn0gBK0H/MsJd1p45cz5xLXngPvsINRPRFL8iloae5NjK8albBMLLWQtUcb+swdUOfHA j9EmfZ6fFEeF3FhAFDjD4S4PSN7KMwvONbpgZcU92rTpCFxgRS8q2TJ4GZIAsG+y79D1xy XSYMFH2/jr5n39J3hzssaByQh0k3wk5n68k/siHK9FS5ogVJ/sFt7Ei/1R/6NaDzWNmQCf fSvRQ+UyH7oex4Fn+Y9F0CNgkgQaVtodzpQ90EBGXnEocUn9/uZGx74TkVFSy97Lp0i0gq 6yJ4S2rsiTrMD/+T6CLtgfZkw66a0yFZ2fGsXc5ikDqwBEwKry1jdafU2zrKpg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666084661; a=rsa-sha256; cv=none; b=i2pSCJap9a2t2AzapL08V5bZMVCZ4lLR6fexa5p0LwVANvG5F8wAZneFM/R1WLB5yqpm7N r7dBCyeSUzCERxN8+QO3Y6OE1LduNxIknvIBTyHzNTJi38DtQCtvQt4GXa0KKLPSNvclzp /mkmQ1DZDot3d7537ij4l8qtAGvUzv9pSP0pN7zL/qS3FyGDhyA3IF5HEiJMOPpjsqPLvm rA2j56Phmw95krgEoz6BaO/vECFBnpZq6FXNR3IKJlDDyuGj0XdQe94DKHMxsqM7AVZmGO 1QyoZ6oqlnBDO6nHkVXCRoTj/DH7YFUgK6b9QRkbSRzRbZwUSssyhUURRrtZTw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=33ec243a799f8eae4402334bc2e851ac1ad3d293 commit 33ec243a799f8eae4402334bc2e851ac1ad3d293 Author: Gleb Popov AuthorDate: 2022-10-17 08:07:11 +0000 Commit: Gleb Popov CommitDate: 2022-10-18 09:17:00 +0000 Uses/cmake.mk: Always pass FETCHCONTENT_FULLY_DISCONNECTED=1 to CMAKE_ARGS. Summary: This variable makes `FetchContent_*()` CMake functions to disable any network access, which is exactly what we expect in Ports framework. Test Plan: `poudriere testport` on a simple CMake port. Reviewed By: #kde, #portmgr, tcberner Differential Revision: https://reviews.freebsd.org/D37015 --- Mk/Uses/cmake.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Mk/Uses/cmake.mk b/Mk/Uses/cmake.mk index 901d65e8fd57..d739cb1e3fdc 100644 --- a/Mk/Uses/cmake.mk +++ b/Mk/Uses/cmake.mk @@ -90,7 +90,8 @@ CMAKE_ARGS+= -DCMAKE_C_COMPILER:STRING="${CC}" \ -DCMAKE_BUILD_TYPE:STRING="${CMAKE_BUILD_TYPE}" \ -DTHREADS_HAVE_PTHREAD_ARG:BOOL=YES \ -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=YES \ - -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON + -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ + -DFETCHCONTENT_FULLY_DISCONNECTED:BOOL=ON # Handle the option-like CMAKE_ON and CMAKE_OFF lists. . for _bool_kind in ON OFF