commit:     36653e1b24d307c5280722b0fe530c341b098042
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 11 11:03:24 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Sat Feb 11 11:03:34 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36653e1b

media-libs/vo-aacenc: Append -mfpu=neon when USE=neon is set, it does not build 
otherwise. Bug #608878.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 media-libs/vo-aacenc/vo-aacenc-0.1.3.ebuild | 5 +++--
 media-libs/vo-aacenc/vo-aacenc-9999.ebuild  | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/media-libs/vo-aacenc/vo-aacenc-0.1.3.ebuild 
b/media-libs/vo-aacenc/vo-aacenc-0.1.3.ebuild
index a1443bc0fa..783c9ac215 100644
--- a/media-libs/vo-aacenc/vo-aacenc-0.1.3.ebuild
+++ b/media-libs/vo-aacenc/vo-aacenc-0.1.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -11,7 +11,7 @@ if [[ ${PV} == *9999 ]] ; then
        AUTOTOOLS_AUTORECONF=yes
 fi
 
-inherit autotools-multilib ${SCM}
+inherit autotools-multilib flag-o-matic ${SCM}
 
 DESCRIPTION="VisualOn AAC encoder library"
 HOMEPAGE="https://sourceforge.net/projects/opencore-amr/";
@@ -34,6 +34,7 @@ IUSE="examples static-libs neon"
 AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
 
 src_configure() {
+       use neon && append-flags '-mfpu=neon'
        local myeconfargs=(
                "$(use_enable examples example)"
                "$(use_enable neon armv7neon)"

diff --git a/media-libs/vo-aacenc/vo-aacenc-9999.ebuild 
b/media-libs/vo-aacenc/vo-aacenc-9999.ebuild
index 7d154fcff6..2aed642b20 100644
--- a/media-libs/vo-aacenc/vo-aacenc-9999.ebuild
+++ b/media-libs/vo-aacenc/vo-aacenc-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -11,7 +11,7 @@ if [[ ${PV} == *9999 ]] ; then
        AUTOTOOLS_AUTORECONF=yes
 fi
 
-inherit autotools-multilib ${SCM}
+inherit autotools-multilib flag-o-matic ${SCM}
 
 DESCRIPTION="VisualOn AAC encoder library"
 HOMEPAGE="https://sourceforge.net/projects/opencore-amr/";
@@ -34,6 +34,7 @@ IUSE="examples static-libs neon"
 AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
 
 src_configure() {
+       use neon && append-flags '-mfpu=neon'
        local myeconfargs=(
                "$(use_enable examples example)"
                "$(use_enable neon armv7neon)"

Reply via email to