polkit: workaround a really wrong configure test to make this build.

This commit is contained in:
Juan RP 2013-05-30 23:57:51 +02:00
parent f5f88e1464
commit 23b610477c

View File

@ -15,6 +15,11 @@ checksum=02ae544547211b687818c97bcbf19bf6b8b5be7fda93000525a8765c7bed1ea1
hostmakedepends="pkg-config intltool libxslt docbook-xsl gobject-introspection"
makedepends="glib-devel expat-devel pam-devel systemd-devel js-devel shadow"
pre_configure() {
# Drop requirement of /sys/fs/cgroup/systemd test in configure... WTF.
sed -e 's,/sys/fs/cgroup/systemd/,/sys/fs/cgroup,g' -i configure
}
post_install() {
vinstall ${FILESDIR}/polkit-1.pam 644 etc/pam.d polkit-1
vinstall ${FILESDIR}/polkit.tmpfiles 644 usr/lib/tmpfiles.d polkit.conf