dev-libs/glib: Handle debug
authorPacho Ramos <pacho@gentoo.org>
Sat, 25 Jun 2016 10:20:01 +0000 (12:20 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sat, 25 Jun 2016 12:20:20 +0000 (14:20 +0200)
Package-Manager: portage-2.3.0_rc1

dev-libs/glib/glib-2.48.1.ebuild

index 13dc51dc0ea47369a00a45e8db7ae3111340cd82..3c4af2b2c91b67f9c99ab45219d35a1e4cc2fe36 100644 (file)
@@ -22,7 +22,7 @@ SRC_URI="${SRC_URI}
 
 LICENSE="LGPL-2+"
 SLOT="2"
-IUSE="dbus fam kernel_linux +mime selinux static-libs systemtap test utils xattr"
+IUSE="dbus debug fam kernel_linux +mime selinux static-libs systemtap test utils xattr"
 REQUIRED_USE="
        utils? ( ${PYTHON_REQUIRED_USE} )
        test? ( ${PYTHON_REQUIRED_USE} )
@@ -164,6 +164,7 @@ multilib_src_configure() {
 
        # libelf used only by the gresource bin
        ECONF_SOURCE="${S}" gnome2_src_configure ${myconf} \
+               $(usex debug --enable-debug=yes ' ') \
                $(use_enable xattr) \
                $(use_enable fam) \
                $(use_enable selinux) \