Timur, I suspect you intended SAMBA4_LDB to be assigned to one of 1.3, 1.2 or 1.1. This minor change in Makefile enables that ;) Index: /usr/ports/net/samba47/Makefile =================================================================== --- /usr/ports/net/samba47/Makefile (revision 463683) +++ /usr/ports/net/samba47/Makefile (working copy) @@ -155,7 +155,7 @@ RUN_DEPENDS+= tdb>=1.3.14:databases/tdb SAMBA4_BUNDLED_LIBS+= !tdb,!pytdb # ldb -SAMBA4_LDB= 12 +SAMBA4_LDB?= 12 .if !defined(SAMBA4_LDB) || ${SAMBA4_LDB} == 13 BUILD_DEPENDS+= ldb13>=1.3.0:databases/ldb13 RUN_DEPENDS+= ldb13>=1.3.0:databases/ldb13 Though it crossed my mind to move the option to /usr/ports/Mk/bsd.default-versions.mk via DEFAULT_VERSIONS+= but ...
(In reply to dewayne from comment #0) Hi, Dewayne! Thanks for the support and attention to the details! In this particular case this is an intentional config, to be able to share as much port code base between samba47 and samba48 and samba4-devel. As you can imagine they are quite similar and mostly are copies of each other. Samba 4.7 has to be linked with ldb12, as well as Samba 4.8 meant to the ldb13 only. Previous versions of Samba have to stick to ldb, but those are going to be expired pretty soon. Actually, such a situation made me think that it's better to use bundled ldb, so samba4-devel is now have a choice to link with 1.3 or bundled ldb. So, this selection is purely for convenience of maintenance :) But nice you've asked :)