summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Sirabella <marco@sirabella.org>2024-03-01 16:12:27 -0800
committerSam James <sam@gentoo.org>2024-04-04 02:06:41 +0100
commit5fa54b08bad95df724b7d8d52ddad03d2fab22e8 (patch)
treed2166edc113b5b66ab1e7f68a2c29cbff228c1eb /x11-base/xorg-server
parentdev-libs/glib: set glib_debug rather than buildtype (diff)
downloadgentoo-5fa54b08bad95df724b7d8d52ddad03d2fab22e8.tar.gz
gentoo-5fa54b08bad95df724b7d8d52ddad03d2fab22e8.tar.bz2
gentoo-5fa54b08bad95df724b7d8d52ddad03d2fab22e8.zip
*/*: -Dbuildtype -> EMESON_BUILDTYPE
Signed-off-by: Marco Sirabella <marco@sirabella.org> Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/36071 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-base/xorg-server')
-rw-r--r--x11-base/xorg-server/xorg-server-21.1.11.ebuild3
-rw-r--r--x11-base/xorg-server/xorg-server-9999.ebuild3
2 files changed, 4 insertions, 2 deletions
diff --git a/x11-base/xorg-server/xorg-server-21.1.11.ebuild b/x11-base/xorg-server/xorg-server-21.1.11.ebuild
index aac526f8a150..34c0ed8d3a5f 100644
--- a/x11-base/xorg-server/xorg-server-21.1.11.ebuild
+++ b/x11-base/xorg-server/xorg-server-21.1.11.ebuild
@@ -110,13 +110,14 @@ src_configure() {
# bug #835653
use x86 && replace-flags -Os -O2
+ use debug && EMESON_BUILDTYPE=debug
+
# localstatedir is used for the log location; we need to override the default
# from ebuild.sh
# sysconfdir is used for the xorg.conf location; same applies
local emesonargs=(
--localstatedir "${EPREFIX}/var"
--sysconfdir "${EPREFIX}/etc/X11"
- -Dbuildtype=$(usex debug debug plain)
-Db_ndebug=$(usex debug false true)
$(meson_use !minimal dri1)
$(meson_use !minimal dri2)
diff --git a/x11-base/xorg-server/xorg-server-9999.ebuild b/x11-base/xorg-server/xorg-server-9999.ebuild
index 89bf977b8290..6cff794746b4 100644
--- a/x11-base/xorg-server/xorg-server-9999.ebuild
+++ b/x11-base/xorg-server/xorg-server-9999.ebuild
@@ -105,13 +105,14 @@ src_configure() {
# bug #835653
use x86 && replace-flags -Os -O2
+ use debug && EMESON_BUILDTYPE=debug
+
# localstatedir is used for the log location; we need to override the default
# from ebuild.sh
# sysconfdir is used for the xorg.conf location; same applies
local emesonargs=(
--localstatedir "${EPREFIX}/var"
--sysconfdir "${EPREFIX}/etc/X11"
- -Dbuildtype=$(usex debug debug plain)
-Db_ndebug=$(usex debug false true)
$(meson_use !minimal dri1)
$(meson_use !minimal dri2)