summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Trukhanov <lahvuun@gmail.com>2020-04-25 18:39:15 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-04-26 00:23:08 +0300
commit2488d1377082ccd30cfaaeaaa916ddc8a1ab67b7 (patch)
treeebf7e90a6fe19ddae68bda2a8d4a256ba3bc3d3c /media-video/mpv
parentgnome-base/gnome-shell: don't pdepend on gnome-control-center on arm (diff)
downloadgentoo-2488d1377082ccd30cfaaeaaa916ddc8a1ab67b7.tar.gz
gentoo-2488d1377082ccd30cfaaeaaa916ddc8a1ab67b7.tar.bz2
gentoo-2488d1377082ccd30cfaaeaaa916ddc8a1ab67b7.zip
media-video/mpv: fix build with USE=debug
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Ilya Trukhanov <lahvuun@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/14348 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'media-video/mpv')
-rw-r--r--media-video/mpv/mpv-0.32.0-r1.ebuild2
-rw-r--r--media-video/mpv/mpv-9999.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/media-video/mpv/mpv-0.32.0-r1.ebuild b/media-video/mpv/mpv-0.32.0-r1.ebuild
index df53a7db5b15..eb6ccc9c6530 100644
--- a/media-video/mpv/mpv-0.32.0-r1.ebuild
+++ b/media-video/mpv/mpv-0.32.0-r1.ebuild
@@ -162,7 +162,7 @@ src_configure() {
--disable-static-build
# See deep down below for build-date.
--disable-optimize # Don't add '-O2' to CFLAGS.
- $(use_enable debug debug-build)
+ $(usex debug '' '--disable-debug-build')
$(use_enable doc html-build)
$(use_enable doc pdf-build)
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index d6d2829b4b15..c714f2d8b0c2 100644
--- a/media-video/mpv/mpv-9999.ebuild
+++ b/media-video/mpv/mpv-9999.ebuild
@@ -159,7 +159,7 @@ src_configure() {
--disable-static-build
# See deep down below for build-date.
--disable-optimize # Don't add '-O2' to CFLAGS.
- $(use_enable debug debug-build)
+ $(usex debug '' '--disable-debug-build')
$(use_enable doc html-build)
$(use_enable doc pdf-build)