logo

overlay

My own overlay for experimentations, use with caution, no support is provided
commit: 54f9217ef61697c0eb47e7586b28a03e80502a84
parent: 53781e5d2dff446057ae1f97ab4314d6168550e7
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 15 Feb 2020 19:46:40 +0100

net-libs/webkit-gtk: Add IUSE=debug [fixup]

Diffstat:

Mnet-libs/webkit-gtk/webkit-gtk-2.26.4.ebuild12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/net-libs/webkit-gtk/webkit-gtk-2.26.4.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.26.4.ebuild @@ -126,12 +126,6 @@ S="${WORKDIR}/${MY_P}" CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 -if use debug; then - CMAKE_BUILD_TYPE="Debug" -else - CMAKE_BUILD_TYPE="Release" -end - pkg_pretend() { if [[ ${MERGE_TYPE} != "binary" ]] ; then if is-flagq "-g*" && ! is-flagq "-g*0" ; then @@ -170,6 +164,12 @@ src_prepare() { } src_configure() { + if use debug; then + CMAKE_BUILD_TYPE="Debug" + else + CMAKE_BUILD_TYPE="Release" + fi + # Respect CC, otherwise fails on prefix #395875 tc-export CC