media-libs/mlt: Fix build with USE=gtk caused by wrong arch, bug 570508
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>
Fri, 1 Jan 2016 20:13:41 +0000 (21:13 +0100)
committerMichael Palimaka <kensington@gentoo.org>
Sat, 2 Jan 2016 14:10:28 +0000 (01:10 +1100)
Use tc-arch instead of tc-arch-kernel

Package-Manager: portage-2.2.24

media-libs/mlt/mlt-0.9.8-r1.ebuild

index 97a6e4483315285ae6f970db60d89b5128995416..71759e9cf006875ab3a26384603b4df21f221947 100644 (file)
@@ -5,7 +5,7 @@
 EAPI=5
 PYTHON_COMPAT=( python2_7 )
 USE_RUBY="ruby19"
-inherit eutils toolchain-funcs linux-info multilib python-single-r1 ruby-single
+inherit eutils toolchain-funcs multilib python-single-r1 ruby-single
 
 DESCRIPTION="Open source multimedia framework for television broadcasting"
 HOMEPAGE="http://www.mltframework.org/"
@@ -88,7 +88,6 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
 "
 
 pkg_setup() {
-       linux-info_pkg_setup
        use python && python-single-r1_pkg_setup
 }
 
@@ -110,7 +109,7 @@ src_configure() {
        local myconf="--enable-gpl
                --enable-gpl3
                --enable-motion-est
-               --target-arch=$(tc-arch-kernel)
+               --target-arch=$(tc-arch)
                --disable-swfdec
                $(use_enable debug)
                $(use compressed-lumas && echo ' --luma-compress')