git: 7bd3a9857c - main - porters-handbook: Document updates to samba.mk

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Tue, 10 Sep 2024 11:50:03 UTC
The branch main has been updated by 0mp:

URL: https://cgit.FreeBSD.org/doc/commit/?id=7bd3a9857cbe413de59f33f8cebda345091ecfc4

commit 7bd3a9857cbe413de59f33f8cebda345091ecfc4
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2024-09-10 11:48:04 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2024-09-10 11:48:04 +0000

    porters-handbook: Document updates to samba.mk
    
    PR:             280977
    Sponsored by:   Klara, Inc.
---
 .../content/en/books/porters-handbook/uses/_index.adoc         | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/documentation/content/en/books/porters-handbook/uses/_index.adoc b/documentation/content/en/books/porters-handbook/uses/_index.adoc
index f7de2751b4..599256e11b 100644
--- a/documentation/content/en/books/porters-handbook/uses/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/uses/_index.adoc
@@ -1845,15 +1845,19 @@ Handle dependency on Samba.
 `build` and `run` will add build-time and run-time dependency on [.filename]#smbd#. `lib` will add a dependency on [.filename]#libsmbclient.so#.
 The variables that are exported are:
 
-`SAMBAPORT`::
+`SAMBA_PORT`::
 The origin of the default Samba port.
 
-`SAMBAINCLUDES`::
+`SAMBA_INCLUDEDIR`::
 The location of the Samba header files.
 
-`SAMBALIBS`::
+`SAMBA_LIBS`::
 The directory where the Samba shared libraries are available.
 
+`SAMBA_LDB_PORT`::
+The origin of the ldb port used by the selected Samba version (e.g., package:databases/ldb28[]).
+It should be used if a port needs to depend on the same ldb version as the selected Samba version.
+
 [[uses-scons]]
 == `scons`