From 3d3c8b10f1207b895d14b520fb9a908d23974d76 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 21 Aug 2014 09:26:20 +0200 Subject: [PATCH] udisks2: set --with-systemdsystemunitdir only if the systemd build option is enabled. --- srcpkgs/udisks2/template | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/srcpkgs/udisks2/template b/srcpkgs/udisks2/template index 56615245e07..df710745e90 100644 --- a/srcpkgs/udisks2/template +++ b/srcpkgs/udisks2/template @@ -1,11 +1,10 @@ # Template file for 'udisks2' pkgname=udisks2 version=2.1.3 -revision=3 +revision=4 wrksrc="udisks-${version}" build_style=gnu-configure -configure_args="--disable-static --with-udevdir=/usr/lib/udev ---with-systemdsystemunitdir=/usr/lib/systemd/system" +configure_args="--disable-static --with-udevdir=/usr/lib/udev" hostmakedepends="pkg-config intltool libxslt docbook-xsl glib-devel" makedepends="acl-devel device-mapper-devel liblvm2app-devel libparted-devel libatasmart-devel polkit-devel libgudev-devel sg3_utils-devel" @@ -32,7 +31,7 @@ else fi if [ "$build_option_systemd" ]; then - configure_args+=" --enable-systemd" + configure_args+=" --enable-systemd --with-systemdsystemunitdir=/usr/lib/systemd/system" makedepends+=" systemd-devel" else configure_args+=" --disable-systemd"