summaryrefslogtreecommitdiff
path: root/app-arch/p7zip/p7zip-17.05-r1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-16 11:50:23 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-16 11:50:23 +0100
commita2844b413d00a2859401e017a0311986151e1594 (patch)
tree3758da107fb05d4012a3f4813be2bf13c03d3985 /app-arch/p7zip/p7zip-17.05-r1.ebuild
parent1ac83daac7198a5717483e1cfab669ba4f12debe (diff)
gentoo auto-resync : 16:04:2023 - 11:50:23
Diffstat (limited to 'app-arch/p7zip/p7zip-17.05-r1.ebuild')
-rw-r--r--app-arch/p7zip/p7zip-17.05-r1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/app-arch/p7zip/p7zip-17.05-r1.ebuild b/app-arch/p7zip/p7zip-17.05-r1.ebuild
index dbb6ca8a3567..f07d678263c8 100644
--- a/app-arch/p7zip/p7zip-17.05-r1.ebuild
+++ b/app-arch/p7zip/p7zip-17.05-r1.ebuild
@@ -25,7 +25,10 @@ BDEPEND="
src_prepare() {
default
- use natspec && eapply "${FILESDIR}"/${P}-natspec.patch
+ if use natspec; then
+ eapply "${FILESDIR}"/${P}-natspec.patch
+ sed -i '/^LOCAL_LIBS/s/$/ -lnatspec/' makefile.* || die
+ fi
if ! use pch; then
sed "s:PRE_COMPILED_HEADER=StdAfx.h.gch:PRE_COMPILED_HEADER=:g" -i makefile.* || die