usr(systemd-dbus): point dbus related configs to /usr/share

This commit is contained in:
Alex Polvi 2014-01-21 18:55:01 -08:00
parent 44039df4a5
commit e0b84a4981
2 changed files with 3 additions and 2 deletions

View File

@ -77,6 +77,7 @@ src_configure() {
# libaudit is *only* used in DBus wrt SELinux support, so disable it, if
# not on an SELinux profile.
myconf=(
--sysconfdir=/usr/share
--disable-silent-rules
--localstatedir="${EPREFIX}/var"
--docdir="${EPREFIX}/usr/share/doc/${PF}"
@ -155,7 +156,6 @@ src_install() {
# needs to exist for dbus sessions to launch
keepdir /usr/share/dbus-1/services
keepdir /etc/dbus-1/{session,system}.d
# machine-id symlink from pkg_postinst()
keepdir /var/lib/dbus

View File

@ -115,6 +115,8 @@ pkg_setup() {
multilib_src_configure() {
local myeconfargs=(
--with-pamconfdir=/usr/share/pam.d
--with-dbuspolicydir=/usr/share/dbus-1/system.d
--localstatedir=/var
--with-pamlibdir=$(getpam_mod_dir)
# avoid bash-completion dep
@ -191,7 +193,6 @@ multilib_src_configure() {
--disable-python-devel
)
fi
# Work around bug 463846.
tc-export CC