media-sound/alsa-utils: fix out of Prefix errors by Matthias Gerstner, bug #603926
authorFabian Groffen <grobian@gentoo.org>
Tue, 3 Jan 2017 11:59:34 +0000 (12:59 +0100)
committerFabian Groffen <grobian@gentoo.org>
Tue, 3 Jan 2017 11:59:34 +0000 (12:59 +0100)
Package-Manager: portage-2.3.0

media-sound/alsa-utils/alsa-utils-1.1.3.ebuild

index 9bd9df90abe66453f103567c6c328485ccdef904..8c7e18bdf84fb763bddfa469967c42408e46d67a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -37,7 +37,8 @@ src_configure() {
                $(use_enable ncurses alsamixer) \
                --disable-alsaconf \
                --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \
-               --with-udev-rules-dir="$(get_udevdir)"/rules.d \
+               --with-udev-rules-dir="${EPREFIX}/$(get_udevdir)"/rules.d \
+               --with-asound-state-dir="${EPREFIX}"/var/lib/alsa \
                ${myconf}
 }