diff --git a/srcpkgs/connman/template b/srcpkgs/connman/template index 94b294a737f..d20bc51a8eb 100644 --- a/srcpkgs/connman/template +++ b/srcpkgs/connman/template @@ -1,12 +1,13 @@ # Template file for 'connman' pkgname=connman version=1.25 -revision=1 +revision=2 lib32disaled=yes build_style=gnu-configure configure_args="--enable-pie --enable-threads --enable-ethernet --enable-wifi --enable-bluetooth --enable-loopback --enable-nmcompat - --enable-polkit --enable-client --with-systemdunitdir=/usr/lib/systemd/system" + --enable-polkit --enable-client + $(vopt_if systemd --with-systemdunitdir=/usr/lib/systemd/system)" hostmakedepends="pkg-config wpa_supplicant" makedepends="libglib-devel dbus-devel iptables-devel>=1.4.18 gnutls-devel>=3.1.5 readline-devel>=6.3" depends="wpa_supplicant" @@ -17,6 +18,8 @@ homepage="http://connman.net/" distfiles="${KERNEL_SITE}/network/$pkgname/$pkgname-$version.tar.xz" checksum=c1d266d6be18d2f66231f3537a7ed17b57637ca43c27328bc13c508cbeacce6e +build_options="systemd" + post_install() { # Install the client connmanctl. vbin client/connmanctl