From nobody Wed Mar 02 21:57:25 2022 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 307EF19E08F8; Wed, 2 Mar 2022 21:57:28 +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 4K87JQ5WMvz3KFN; Wed, 2 Mar 2022 21:57:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646258247; 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=Lm/xVVg/3JMvlaW0ZgmZjDYp/6NdGnHlHutHo8yA/4k=; b=FD+w5MGzZpW/BPswaDwC5zlHLtB5G6cZhcDEEo+UcQLEqY1F931o+E7MEpGk8EdrUTP+HX A5ojAUDkVWBoFba8GCCOk+R4EqHKEZ8iZRlnZFGkCNjcZt2B9c8Asrtf3EL5xoQvfBwlJW gBlZ34Zoy25hxoOQWWInuGszhKC8uvMEkZUVABVlg+RPMXU34/Hkxli8QQD2UuINgD4X3H ADDBBrxEsaKzQ9aAx8IaPICvFl/Uka4JP+Qa8F/d/536aeNtzP29YjC0H1Fh7VwvrTou2r G9WrMAyItGkRl92N+s2MiaP+CKYqZS0w8v5VkmwNJB6pv28yKRfOj6OMgB+oaQ== 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 1D7183841; Wed, 2 Mar 2022 21:57:26 +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 222LvQOt065216; Wed, 2 Mar 2022 21:57:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 222LvPMu065215; Wed, 2 Mar 2022 21:57:25 GMT (envelope-from git) Date: Wed, 2 Mar 2022 21:57:25 GMT Message-Id: <202203022157.222LvPMu065215@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Eric van Gyzen Subject: git: 6aac8c390466 - stable/13 - Allow downstream projects to easily add private and internal libs 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: vangyzen X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 6aac8c390466e90413f537a0be36fff700536004 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646258247; 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=Lm/xVVg/3JMvlaW0ZgmZjDYp/6NdGnHlHutHo8yA/4k=; b=fYmbyCO5yMg9EuqBosTHtJp12uOwCDvilXfqUD8eICQqJi/AzceokHblzHsKogQxJoKi3t SQRHcbwBWzGytiFBpiC5oe4269FHtAoTjvKyH3bMdiuCmHw/7o8qzxG50A7KtVfDH2sFIE 9MCMZB/jOSVXapF5JV/Cmw4BXcGnd2NB4o7oLfWEdsVLT6CL7IXonW4GExi5EYPoePgPoU ndirsVro/Cgqbw5AQTlpFXZehiP5NA/v5GKaipOB7R6IMr4F7U5c+r2+qeBmj4waSPtIqf JMMtZSU+vfk2bKSs3Wp4L7VmUqAyZqInZL5JfLPI1Ec/rU30k3TpZEFMrbl8gA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646258247; a=rsa-sha256; cv=none; b=CKut3cga/o/EptNYnspcXQ4iy+Figbhhe/jLE1OpeMOjDAuHEcQHYxtjG96rszV/wxyf4/ 9nxTL2/OmMN6o6zXRMzcSGLQEGFaecHGbTgmlHT7GIuVGfEY2XPH15sNNSMpVGLgPVKtOs 8v2s43Gfupfv9If3aP2bvbxo7B3XVNpkHSRBxziTn7WMW3R8ZD/LVIHnq3vBmi+p78vKOi dedOvPmFUpl1HW33rKqE89vabiqCe9Bl1wkSsaZ3GPKoWE0YX+z2vWfMhTcA6DTuhVLwZJ ywEmlDFHGzRiXj+BtXo0skslNR1C+FJmPKwv4HfxWIOW5BwbuOnn6DlDfFI8/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by vangyzen: URL: https://cgit.FreeBSD.org/src/commit/?id=6aac8c390466e90413f537a0be36fff700536004 commit 6aac8c390466e90413f537a0be36fff700536004 Author: Eric van Gyzen AuthorDate: 2022-01-14 14:12:57 +0000 Commit: Eric van Gyzen CommitDate: 2022-03-02 21:56:30 +0000 Allow downstream projects to easily add private and internal libs Allow projects based on the FreeBSD tree to append to _PRIVATELIBS and _INTERNALLIBS by simply maintaining their own lists of LOCAL_PRIVATELIBS and LOCAL_INTERNALLIBS, respectively. Reviewed by: bdrewery MFC after: 1 week Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D33901 (cherry picked from commit d7f944a0460531cfb3ec9ae7d4bfd9dc29481ab8) --- share/mk/src.libnames.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/share/mk/src.libnames.mk b/share/mk/src.libnames.mk index abaacc591604..111a7070e91d 100644 --- a/share/mk/src.libnames.mk +++ b/share/mk/src.libnames.mk @@ -34,6 +34,10 @@ _PRIVATELIBS= \ unbound \ zstd +# Let projects based on FreeBSD append to _PRIVATELIBS +# by maintaining their own LOCAL_PRIVATELIBS list. +_PRIVATELIBS+= ${LOCAL_PRIVATELIBS} + _INTERNALLIBS= \ amu \ bsnmptools \ @@ -77,6 +81,10 @@ _INTERNALLIBS= \ wpautils \ wpawps +# Let projects based on FreeBSD append to _INTERNALLIBS +# by maintaining their own LOCAL_INTERNALLIBS list. +_INTERNALLIBS+= ${LOCAL_INTERNALLIBS} + _LIBRARIES= \ ${_PRIVATELIBS} \ ${_INTERNALLIBS} \