From 00609a1246fb854a8fd83aa208ded0433c60473d Mon Sep 17 00:00:00 2001 From: Manuel RĂ¼ger Date: Sat, 27 Aug 2016 17:13:15 +0200 Subject: media-video/kmplayer: Fix build with USE="-npp" Package-Manager: portage-2.3.0 --- media-video/kmplayer/kmplayer-0.12.0a.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'media-video') diff --git a/media-video/kmplayer/kmplayer-0.12.0a.ebuild b/media-video/kmplayer/kmplayer-0.12.0a.ebuild index 7e2b64d2f6c2..225c94c8bd6a 100644 --- a/media-video/kmplayer/kmplayer-0.12.0a.ebuild +++ b/media-video/kmplayer/kmplayer-0.12.0a.ebuild @@ -56,8 +56,10 @@ RDEPEND="${CDEPEND} " src_prepare() { - use npp && sed -i src/kmplayer_part.desktop \ + if use npp; then + sed -i src/kmplayer_part.desktop \ -e ":^MimeType: s:=:=application/x-shockwave-flash;:" || die + fi kde5_src_prepare } -- cgit v1.2.3-65-gdbad