app-crypt/libsecret: drop effectless USE=debug
authorGilles Dartiguelongue <eva@gentoo.org>
Thu, 17 May 2018 11:13:04 +0000 (13:13 +0200)
committerGilles Dartiguelongue <eva@gentoo.org>
Thu, 17 May 2018 11:15:01 +0000 (13:15 +0200)
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

index 5960a81c6abaf98e1ad47a47eb74fa212d1c0508..fc25bbf62d1678595e7dc799d47e0b44bcde1685 100644 (file)
@@ -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() {