media-libs/libdmtx: fix building tests
authorMichael Palimaka <kensington@gentoo.org>
Sun, 19 Aug 2018 14:31:00 +0000 (00:31 +1000)
committerMichael Palimaka <kensington@gentoo.org>
Sun, 19 Aug 2018 14:31:13 +0000 (00:31 +1000)
Closes: https://bugs.gentoo.org/663346
Package-Manager: Portage-2.3.44, Repoman-2.3.10

media-libs/libdmtx/libdmtx-0.7.5.ebuild

index 1210c5c0263801138037a946349ebd5914f47412..e13c9ff42c43c61be36a3d41ac65aa1191d270e9 100644 (file)
@@ -15,6 +15,9 @@ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
 IUSE="static-libs"
 
 src_prepare() {
+       #bug 663346
+       sed -i -e "s/-ansi//" test/*/Makefile.am || die
+
        default
        eautoreconf
 }