in an effort to get an ebuild for samba-4.0.0beta3 in Gentoo's portage tree, I try to make use of system libraries, whereever viable.
To share libraries accross the whole system is common practice for most Linux distributions. Gentoo's policy in this area is very strict, thus shipping private libraries should be avoided at all cost.
Since there is no tarball release of ntdb available atm, I tried to configure with:
However, the result at the end of the configure phase looks like this:
symlink: samba_dnsupdate -> ./samba_dnsupdate
symlink: samba_spnupdate -> ./samba_spnupdate
symlink: samba_kcc -> ./samba_kcc
symlink: upgradeprovision -> ./upgradeprovision
symlink: samba_upgradedns -> ./samba_upgradedns
Checking project rules ...
Unknown dependency 'ntdb' in 'util_ntdb.objlist'
* ERROR: net-fs/samba-4.0.0_beta3 failed (compile phase):
* build failed
So, obviously, ntdb is't completely disabled by the above configure switch.
Could someone with more insight please have a look at it?
Thanks in advance
Created attachment 7686 [details]
Proposed patch to make --disable-ntdb work.
Created attachment 7688 [details]
Patch to fix --disable-ntdb
This is what I just pushed to the autobuilder.
(In reply to comment #2)
> This is what I just pushed to the autobuilder.
Thanks, Rusty, your patch works for me.
Mark as fixed based on comments