This fixes -client and -server both creating ${LDCONFIG_DIR}/mariadb,
as well as allowing different /var/db/ports/directories which is good
since -client and -server have different options.
It's probably not strictly necessary to apply this change to -scripts,
but do it anyway for consistency.