commit:     a5d0b4d12aea896d0a2b0b4012c878d103792051
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Thu May 17 11:13:04 2018 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Thu May 17 11:15:01 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5d0b4d1

app-crypt/libsecret: drop effectless USE=debug

Default of the option is the same as --enable-debug, however using no
or default breaks unittests.

Drop overlooked unwanted CFLAGS modifications.

Package-Manager: Portage-2.3.36, Repoman-2.3.9

 app-crypt/libsecret/libsecret-0.18.6-r1.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/app-crypt/libsecret/libsecret-0.18.6-r1.ebuild 
b/app-crypt/libsecret/libsecret-0.18.6-r1.ebuild
index 5960a81c6ab..fc25bbf62d1 100644
--- a/app-crypt/libsecret/libsecret-0.18.6-r1.ebuild
+++ b/app-crypt/libsecret/libsecret-0.18.6-r1.ebuild
@@ -1,8 +1,7 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
-GCONF_DEBUG="yes"
+EAPI=6
 PYTHON_COMPAT=( python3_{4,5,6} )
 VALA_USE_DEPEND=vapigen
 
@@ -63,6 +62,9 @@ pkg_setup() {
 src_prepare() {
        use vala && vala_src_prepare
        gnome2_src_prepare
+
+       # Drop unwanted CFLAGS modifications
+       sed -e 's/CFLAGS="$CFLAGS -\(g\|O0\|O2\)"//' -i configure || die
 }
 
 multilib_src_configure() {

Reply via email to