media-plugins/calf: work around buggy configure check
authorNiklas Haas <git@haasn.xyz>
Sun, 26 Aug 2018 16:28:06 +0000 (18:28 +0200)
committerMiroslav Šulc <fordfrog@gentoo.org>
Sat, 26 Jan 2019 11:35:00 +0000 (12:35 +0100)
The upstream project's configure.ac hard-codes a check to see if calf is
already installed to /usr/lib or /usr/local/lib, and if so, refuses to
configure (causing econf to fail) if `calf` is already installed on the
system.

Simply adding --without-obsolete-check to the configure invocation
disables this (pointless) check.

Closes: https://bugs.gentoo.org/661036
Closes: https://github.com/gentoo/gentoo/pull/9701
Signed-off-by: Niklas Haas <git@haasn.xyz>
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
media-plugins/calf/calf-0.90.0-r1.ebuild
media-plugins/calf/calf-0.90.0.ebuild
media-plugins/calf/calf-9999.ebuild

index a065b446eb2b79bd9c9acbdbcd249667dd92922e..f5485eed1bfa22af69f8e54f89d1ab5ff4a348c7 100644 (file)
@@ -46,6 +46,7 @@ src_configure() {
        #$(use_with jack)
        econf \
                --prefix="${EPREFIX}"/usr \
+               --without-obsolete-check \
                $(use_with lash) \
                $(use_with lv2 lv2) \
                $(usex lv2 "--with-lv2-dir=${EPREFIX}/usr/$(get_libdir)/lv2" "") \
index 4d9473406b0a3c48fecd4ffeaba200e6c8b58825..820905fdc57ea78155e85bf74cf1b3c936a7eca6 100644 (file)
@@ -45,6 +45,7 @@ src_configure() {
        #$(use_with gtk gui)
        #$(use_with jack)
        econf \
+               --without-obsolete-check \
                $(use_with lash) \
                $(use_with lv2 lv2) \
                $(usex lv2 "--with-lv2-dir=/usr/$(get_libdir)/lv2" "") \
index a065b446eb2b79bd9c9acbdbcd249667dd92922e..f5485eed1bfa22af69f8e54f89d1ab5ff4a348c7 100644 (file)
@@ -46,6 +46,7 @@ src_configure() {
        #$(use_with jack)
        econf \
                --prefix="${EPREFIX}"/usr \
+               --without-obsolete-check \
                $(use_with lash) \
                $(use_with lv2 lv2) \
                $(usex lv2 "--with-lv2-dir=${EPREFIX}/usr/$(get_libdir)/lv2" "") \