From nobody Tue Dec 07 07:45:21 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 E928718C5513; Tue, 7 Dec 2021 07:45: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 4J7XQT4nsNz3l6m; Tue, 7 Dec 2021 07:45:21 +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 844D01BED6; Tue, 7 Dec 2021 07:45: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 1B77jLLX008350; Tue, 7 Dec 2021 07:45:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B77jLpX008349; Tue, 7 Dec 2021 07:45:21 GMT (envelope-from git) Date: Tue, 7 Dec 2021 07:45:21 GMT Message-Id: <202112070745.1B77jLpX008349@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Juraj Lutter Subject: git: ae39c0b6bc37 - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: ae39c0b6bc3773333e18d5009c69826b8e78fe5b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638863121; 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=I6HKVtbzWpRullS5l3LWwTUhetMVlZqkQQdFrD+/8Ro=; b=Vkx9pn5KHoe4KMUGUJLZhtlz9JJfuXDPwOQ0yAGAqN9JDemdAtn34P6WqLP/yxfrdmRLKQ k6xG2KfmxoJHc0r5mT5HcVz+GJjKRyzr3dFM6DOfg9bhjAHT1tRCUILeq1P6r7r4UkY+3+ 2nafbsgkasRFQhujOc6+pkOWfv6VzjTn4EjFFxIwDVJeUpuUEL0QNKPQFC02+exlKbDCI0 S1qoPbhq0aDstnfV9NHWIi6NUhJKdJOVxqelYhofoaM/IRHV01r+qLWyhJ+Ap+VDBSC2lC tiUzikoR6Vs93yJjqQ+EIKoce8kJVHxFkOHLy1hHT3bFbWa20Ap93CXm4y5gpA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638863121; a=rsa-sha256; cv=none; b=hunLNZ2qIkJZ+4DIC9fc6mBtQo+VUj5rbWV5Nx1YpTZdn+koc0hQetjYSv7T4kl7RA9v6t vjuh7mXh4OpHplA4UGgeopG4MJqLwVvWTyvDC6UObjLO1B+Aq4DOYZx08KqCYQuLt/8ZH5 vVTQ7iMfFiTtND7M12eZjlzrqVOYXWFebNGzs9brB6nPAvwjjSUHzOvkDdj5C2f4MMA82y i3/WNXBBFz8V+MBPKDR/xPHOAG4Peoe/+aoTsXoq7UGneJqdwY7OiJ01X2d9eWNnjuyW2H 6hqlw2YTqrZz2ZJ/mJxaLuybB2FA3Q3cFRAHTd9Eu/PPHfLL8vYeWJTLN2djAg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by otis (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=ae39c0b6bc3773333e18d5009c69826b8e78fe5b commit ae39c0b6bc3773333e18d5009c69826b8e78fe5b Author: Juraj Lutter AuthorDate: 2021-11-28 20:44:13 +0000 Commit: Juraj Lutter CommitDate: 2021-12-07 07:43:51 +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 (cherry picked from commit aaa4cd7f3c933950582dfb4f0eac23a200dafe53) --- Makefile.inc1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index c18c92d3cd38..b2ea58f02b1d 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -502,11 +502,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)