If you're building samba (4.8 in this case) with Avahi support samba should start after avahi_daemon. This is important for the 4.8 Time Machine feature. Normal Time Machine configuration uses avahi to find Time Machine volumes. It appears during startup if samba starts before avahi-daemon _smb._tcp and _adisk._tcp (timemachine) are not registered. Restarting samba_server will register these services. If this is the correct direction for avahi support then I can also produce a patch for all supported net/samba4X ports.
Created attachment 194970 [details] net/samba48 patch to require avahi_daemon Patch for net/samba48 to require avahi_daemon if avahi support is enabled. If acceptable I can produce a patch for 46 and 47
Fixed by r492474