app-emulation/spice-vdagent: install unit file with USE=systemd (bug #557954)
authorMatthias Maier <tamiko@gentoo.org>
Sat, 22 Aug 2015 19:25:21 +0000 (14:25 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Sat, 22 Aug 2015 19:25:21 +0000 (14:25 -0500)
Fix a typo that prevented installation of the systemd unit file in case of
USE=systemd

Bug: 557954

Package-Manager: portage-2.2.20.1

app-emulation/spice-vdagent/spice-vdagent-0.16.0.ebuild

index b652156b6e7652c73c6d7e59e33accb9be6ab850..932365f3b8673a02f53619d1fd8a3c4c848cf26b 100644 (file)
@@ -36,8 +36,8 @@ ERROR_VIRTIO_CONSOLE="VirtIO console/serial device support is required"
 src_configure() {
        local opt="--with-session-info=none --with-init-script=systemd"
 
-       use systemd && opt="--with-session-info=systemd"
-       use consolekit && opt="${opt} --with-session-info=console-kit"
+       use systemd && opt+=" --with-session-info=systemd"
+       use consolekit && opt+=" --with-session-info=console-kit"
 
        econf \
                --localstatedir=/var \