From: Ilya Trukhanov Date: Sat, 25 Apr 2020 15:39:15 +0000 (+0300) Subject: media-video/mpv: fix build with USE=debug X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2488d1377082ccd30cfaaeaaa916ddc8a1ab67b7;p=gentoo.git media-video/mpv: fix build with USE=debug Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Ilya Trukhanov Closes: https://github.com/gentoo/gentoo/pull/14348 Signed-off-by: Mikle Kolyada --- 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)