sci-electronics/kactus2: add CONFIG+=nostrip

add CONFIG+=nostrip to all .pro file

Closes: https://bugs.gentoo.org/781674
Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
Huang Rui
2022-06-23 12:30:10 +08:00
parent 9569f2823f
commit 04234ec226
2 changed files with 8 additions and 6 deletions

View File

@@ -41,11 +41,12 @@ DEPEND="
${RDEPEND}
"
QA_PRESTRIPPED="usr/share/kactus2/plugins/*"
src_prepare() {
default
# Fix QA pre-stripped warnings, bug 781674
while IFS= read -r -d '' i; do
echo "CONFIG+=nostrip" >> "${i}" || die
done < <(find . -type f '(' -name "*.pro" ')' -print0)
# Fix QTBIN_PATH
sed -i -e "s|QTBIN_PATH=.*|QTBIN_PATH=\"$(qt5_get_bindir)/\"|" configure || die
}

View File

@@ -41,11 +41,12 @@ DEPEND="
${RDEPEND}
"
QA_PRESTRIPPED="usr/share/kactus2/plugins/*"
src_prepare() {
default
# Fix QA pre-stripped warnings, bug 781674
while IFS= read -r -d '' i; do
echo "CONFIG+=nostrip" >> "${i}" || die
done < <(find . -type f '(' -name "*.pro" ')' -print0)
# Fix QTBIN_PATH
sed -i -e "s|QTBIN_PATH=.*|QTBIN_PATH=\"$(qt5_get_bindir)/\"|" configure || die
}