media-libs/ladspa-sdk: respect EPREFIX
authorMartin Mokrejš <mmokrejs@gmail.com>
Fri, 17 Mar 2017 13:28:52 +0000 (14:28 +0100)
committerMichael Palimaka <kensington@gentoo.org>
Sat, 18 Mar 2017 07:21:29 +0000 (18:21 +1100)
media-libs/ladspa-sdk/ladspa-sdk-1.13-r2.ebuild

index fefc5e2e7f100047fd8a813dbba3b818a9b30177..9b2aa538a86dc35ace1b02e956a6b3387a4e7c2c 100644 (file)
@@ -53,7 +53,7 @@ multilib_src_test() {
 multilib_src_install() {
        cd src
        emake INSTALL_PLUGINS_DIR="/usr/$(get_libdir)/ladspa" \
-               DESTDIR="${D}" \
+               DESTDIR="${ED}" \
                MKDIR_P="mkdir -p" \
                install
 }
@@ -66,5 +66,5 @@ multilib_src_install_all() {
        # emul-linux-soundlibs doesnt seem to install this, so keep it only for the
        # default abi.
        dodir /etc/env.d
-       echo "LADSPA_PATH=/usr/$(get_libdir)/ladspa" > "${D}/etc/env.d/60ladspa"
+       echo "LADSPA_PATH=${EPREFIX}/usr/$(get_libdir)/ladspa" > "${ED}/etc/env.d/60ladspa"
 }