From nobody Tue Nov 30 08:57:06 2021 X-Original-To: dev-commits-src-all@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 9D53918AA5F3; Tue, 30 Nov 2021 08:57:07 +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 4J3GLV6qCgz4ZJX; Tue, 30 Nov 2021 08:57:06 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 CBDAE13839; Tue, 30 Nov 2021 08:57:06 +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 1AU8v6Z1040005; Tue, 30 Nov 2021 08:57:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AU8v6mZ040004; Tue, 30 Nov 2021 08:57:06 GMT (envelope-from git) Date: Tue, 30 Nov 2021 08:57:06 GMT Message-Id: <202111300857.1AU8v6mZ040004@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Juraj Lutter Subject: git: aaa4cd7f3c93 - main - Makefile.inc1: Silence an error in make packages List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: otis X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: aaa4cd7f3c933950582dfb4f0eac23a200dafe53 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638262627; 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=w+qlC59wsSY6oc4InbeYlXjIJGbH/KGmv8rbDrKEKis=; b=lQwUZtFC3Z558oc+flxkI7d1JchWFrpyqLOwnvxIV10J+Xc3PxkqEWhIUgpCqRwt6NULOt haYQ0Wv0E2JxpQiYx9zF80+U1/ZO6WA0MJqUlA1Lb3s3LIHHVxIp5d48NacVUdXmGRTOpt Z86sGwCeL3bJFqZhLHpNzglFF2dUNxy17WDu4ibdP5UJ19Dy0HVuvicS05BLcYiC/5Q1b2 5gQDPYh048hOqqoIAyZAbKNaZSMVxrrZwOiLSW88QEEZ4oUWZLGLe9+EJV7HcQn3bkWlL7 c9YS66o3jjAJxUIHptnXjBCbMHh5JAo4CVLhakcwfj0gPlxPYw5uw2Iw2fE7eQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638262627; a=rsa-sha256; cv=none; b=qi6oJQPhhfzL5+kT6F+mN6n7VlmQVJY2wAN5ob061ZyL6qg4tWpFNV87hEsAS4+WQ51VG4 +J/HmFzZletB/xfyYcYdKFg9C6EB2eGJc3q/I2pmhDG1++4emeh10w3w6wSHlbs726+U1i LMRnhiXIRh/EnIdoLsysORSrCzI3ZJy2Eb6i26nizLlB52xXyaImgzLkvuDbc2nsk72G6s 3DP4mzVymydNgr7wi2JQkAU0J1EXSucju3PywXVKhPuoOcJj62TZEMxAnSnB8hkrB8OcYi pm0dhZbUkTRdryfh0PhjYFhgxJvXhM6FrJ57kA4h0pGtYS1yo5MQoMlaCdU7AA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by otis (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=aaa4cd7f3c933950582dfb4f0eac23a200dafe53 commit aaa4cd7f3c933950582dfb4f0eac23a200dafe53 Author: Juraj Lutter AuthorDate: 2021-11-28 20:44:13 +0000 Commit: Juraj Lutter CommitDate: 2021-11-30 08:53:20 +0000 Makefile.inc1: Silence an error in make packages Silence an error in "packages" target, like: eval: /usr/src: Permission denied on systems without subversion present. Reviewed by: emaste Approved by: emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D33153 --- Makefile.inc1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index e3b46b3e40bc..f0d0483e41d4 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -503,11 +503,13 @@ SVNVERSION_CMD?=${_D}/svnliteversion . endif . endfor .endif +.if defined(SVNVERSION_CMD) && !empty(SVNVERSION_CMD) _VCS_REVISION?= $$(eval ${SVNVERSION_CMD} ${SRCDIR}) . if !empty(_VCS_REVISION) VCS_REVISION= $$(echo r${_VCS_REVISION}) -. endif .export VCS_REVISION +. endif +.endif .endif .if !defined(GIT_CMD) || empty(GIT_CMD)