commit:     28d79b94e8470158a0a7856de0d2d9ae65dc9ed6
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 22 00:23:38 2023 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sun Jan 22 01:15:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28d79b94

sci-mathematics/pari: move STRIP override patch into the ebuild.

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 sci-mathematics/pari/pari-2.15.2.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/sci-mathematics/pari/pari-2.15.2.ebuild 
b/sci-mathematics/pari/pari-2.15.2.ebuild
index e677ee6a41a1..f33ec30fd5de 100644
--- a/sci-mathematics/pari/pari-2.15.2.ebuild
+++ b/sci-mathematics/pari/pari-2.15.2.ebuild
@@ -32,7 +32,6 @@ DEPEND="
 RDEPEND="${DEPEND}"
 
 PATCHES=(
-       "${FILESDIR}/${PN}"-2.9.4-strip.patch
        "${FILESDIR}/${PN}"-2.9.4-ppc.patch
        "${FILESDIR}/${PN}"-2.11.2-no-automagic.patch
        "${FILESDIR}/${PN}"-2.9.4-fltk-detection.patch
@@ -114,7 +113,11 @@ src_test() {
 
 src_install() {
        DOCS=( AUTHORS CHANGES* COMPAT NEW README* )
-       default
+
+       # Use "true" in place of "strip" to sabotage the unconditional
+       # binary stripping.
+       emake DESTDIR="${D}" STRIP="true" install
+       einstalldocs
 
        if use doc; then
                docompress -x "/usr/share/doc/${PF}"

Reply via email to