From 94bdda182f52a024bd58e1a4ccdbd9cc8f22429a Mon Sep 17 00:00:00 2001 From: Joe Kappus Date: Tue, 14 Feb 2023 02:55:45 -0500 Subject: [PATCH] sys-fs/ddrescueview: fix QA issues - Add RESTRICT (strip) - Update QA flags - Copy note from lazarus Closes: https://bugs.gentoo.org/873394 Closes: https://bugs.gentoo.org/873400 Closes: https://bugs.gentoo.org/873397 Signed-off-by: Joe Kappus --- sys-fs/ddrescueview/ddrescueview-0.4.5.ebuild | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/sys-fs/ddrescueview/ddrescueview-0.4.5.ebuild b/sys-fs/ddrescueview/ddrescueview-0.4.5.ebuild index 4bb32ac07d..f580f67e43 100644 --- a/sys-fs/ddrescueview/ddrescueview-0.4.5.ebuild +++ b/sys-fs/ddrescueview/ddrescueview-0.4.5.ebuild @@ -15,12 +15,13 @@ LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64" -BDEPEND=" - dev-lang/lazarus -" +BDEPEND="dev-lang/lazarus" -# I don't know yet how not to strip debug info during lazbuild build -QA_PRESTRIPPED="usr/bin/ddrescueview" +# Pascal ignores CFLAGS and does its own stripping. Nothing else can be done about it. +QA_FLAGS_IGNORED="usr/bin/ddrescueview" +QA_PRESTRIPPED="${QA_FLAGS_IGNORED}" + +RESTRICT="strip" S="${WORKDIR}/${MY_P}"