From nobody Mon Feb 07 21:20:21 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 67CCF19A82C5; Mon, 7 Feb 2022 21:20:21 +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 4JszZF2BZxz4syc; Mon, 7 Feb 2022 21:20:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644268821; 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=6+H4W0DaKVic1Rz9OoLozgSN3UAw+74/7RNo8sxHru4=; b=PC0vPqZSffivcz33VtIcyxlDRpqHZgc9HT5YCJJ5WguvSToLQjQX3uJ9cBNbitLC2txQ5i XUqI4ngDT6PTrBLN35U9FLQh5pHfCL8WS+WnCK/JRyePk3v2EGlTMsYVb9DbvLIMXk31Cw M9e9LDNarJFPE9HfeaBiymypstJAH9ommvfE6UvDCD8uJONNuQTlpIarcZkWhp2uTDlcwE G2Y91Ht1KjPW/qLcgELFf8+Cq4Gq0OLnpZXvVpChBcwvk8JktVpWH5K6NAPWuPJr0n3rjo +5kWYREUQmAaOecX38pj6rQsPX6ctLLNwySbQHH/IV21rXz5N08WXvmf1Na0LA== 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 29C075102; Mon, 7 Feb 2022 21:20:21 +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 217LKLZ9085892; Mon, 7 Feb 2022 21:20:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 217LKLrE085888; Mon, 7 Feb 2022 21:20:21 GMT (envelope-from git) Date: Mon, 7 Feb 2022 21:20:21 GMT Message-Id: <202202072120.217LKLrE085888@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Li-Wen Hsu Subject: git: 45257ef6b57b - main - net/onedrive: Fix build on stable/13 and stable/12 with llvm 13.0 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: lwhsu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 45257ef6b57b6ec0396e08dae96fa3c7e2a86f98 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644268821; 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=6+H4W0DaKVic1Rz9OoLozgSN3UAw+74/7RNo8sxHru4=; b=vPE/YBdmzLpl8r7HKh4gXfY0v9Oo7EO/W9uOEI9HiC2SjCFy/EYfJOHQTWTE5fXBeVqVLT QH94BgrtMnV4C5axX65+HRSzq3QIyW9cD0qTKHtUXBlmBctRiA09gALzOKh6Ee+dowKmjH EpCTCRgzZRI63X+Qs6LWuOjJtnPuavOhsfL70tFYnMjGsGIZTyVoty2EMY1TgGbQEpKH0B QGEdYAEo8xCQfKo2So0gDyy8mUUzBdpHliA4qXNkGWO/DafNEExnWZQBxMCA6OmUn7VCps BIDTJusVJbIlqSpodBMxXx9ct7lvdZho2oHPvDWixR/L9AkdpYbhllqg3i5/OQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644268821; a=rsa-sha256; cv=none; b=KRp5ZJ0LnAElhj22K3sbwuxdpyKvzbK/m30HnRY6JzbXGOZM5TJ9WrYlY2dZRb/NWRjiT7 99BIPS8JPlOJtrG6A8917goB/kkSZRav3Z4rhuus/MzkXJVG0Hp49aWYdLwrGPFyD0nAgW V5/YGKzm4vbBnykHhlfx9Qdir/2sltmeNyC6z6EUeFE5LGIphSeGERZMkHBB6c7PF4GsGv Au+6aqXRZOfTMtGprs8X79S1t1nPZVYapAu54wqJXq0YjwPIlpDpUNFIETmNmN68BbUjQE jdaaoa3DaZYBT66UrNVCBDb/FBp+uvII/TlgrxfoOdvhefHNVGdygIV+sAUGIA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/ports/commit/?id=45257ef6b57b6ec0396e08dae96fa3c7e2a86f98 commit 45257ef6b57b6ec0396e08dae96fa3c7e2a86f98 Author: Hiroo Ono AuthorDate: 2022-02-07 21:19:04 +0000 Commit: Li-Wen Hsu CommitDate: 2022-02-07 21:20:04 +0000 net/onedrive: Fix build on stable/13 and stable/12 with llvm 13.0 PR: 261762 --- net/onedrive/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net/onedrive/Makefile b/net/onedrive/Makefile index 03f5014f1d7f..bf33b6e6f3da 100644 --- a/net/onedrive/Makefile +++ b/net/onedrive/Makefile @@ -48,7 +48,10 @@ post-install: .include -.if (${OSVERSION} >= 1400042) +# llvm 13.0 and above. +.if (${OSVERSION} >= 1400042) || \ + (${OSVERSION} < 1400000 && ${OSVERSION} >= 1300522) || \ + (${OSVERSION} < 1300000 && ${OSVERSION} >= 1203505) CONFIGURE_ARGS+= DCFLAGS=-L=-Wl,-z,nostart-stop-gc .endif