kde-apps/step: fix build on ppc64
authorMichael Palimaka <kensington@gentoo.org>
Sat, 10 Oct 2015 17:47:12 +0000 (04:47 +1100)
committerMichael Palimaka <kensington@gentoo.org>
Sat, 10 Oct 2015 17:51:38 +0000 (04:51 +1100)
Gentoo-bug: 560884

Package-Manager: portage-2.2.20.1

kde-apps/step/step-4.14.3.ebuild

index 02d6c020c015e5e9fb798b0d4f3fd3cb668400c9..f529586f968812db10494944e7dca4ae8e1d0ad6 100644 (file)
@@ -5,7 +5,7 @@
 EAPI=5
 
 KDE_HANDBOOK="optional"
-inherit kde4-base
+inherit flag-o-matic kde4-base
 
 DESCRIPTION="The KDE physics simulator"
 HOMEPAGE="https://edu.kde.org/step"
@@ -20,6 +20,9 @@ DEPEND="
 RDEPEND="${DEPEND}"
 
 src_configure() {
+       # bug 560884
+       use ppc64 && append-flags -mno-altivec
+
        local mycmakeargs=(
                $(cmake-utils_use_with gsl)
                $(cmake-utils_use_with qalculate)