media-plugins/calf: fix not being able to use --without-lv2-dir
authorMatthew Thode <prometheanfire@gentoo.org>
Wed, 20 Dec 2017 23:17:41 +0000 (17:17 -0600)
committerMatthew Thode <prometheanfire@gentoo.org>
Wed, 20 Dec 2017 23:18:38 +0000 (17:18 -0600)
Package-Manager: Portage-2.3.14, Repoman-2.3.6

media-plugins/calf/calf-0.90.0.ebuild

index 37d406d695bb157f546024539f86bea747e50803..a02303b84714bcec9edf55a103932d406a477e86 100644 (file)
@@ -47,7 +47,7 @@ src_configure() {
        econf \
                $(use_with lash) \
                $(use_with lv2 lv2) \
-               $(use_with lv2 lv2-dir /usr/$(get_libdir)/lv2) \
+               $(usex lv2 "--lv2-dir=/usr/$(get_libdir)/lv2" "") \
                $(use_enable static-libs static) \
                $(use_enable cpu_flags_x86_sse sse) \
                $(use_enable experimental)