summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2022-03-01 08:25:44 -0500
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2022-03-01 08:25:44 -0500
commit7955f319b8cbf65cb070217e0ff2d553cf5495aa (patch)
treec27d06294970eec6b23cc3a35046c771c16494e9
parent03fc96c1ae59cd4da18997f6a40d2a66f324e1dd (diff)
downloadgentoo-overlay-7955f319b8cbf65cb070217e0ff2d553cf5495aa.tar.xz
gentoo-overlay-7955f319b8cbf65cb070217e0ff2d553cf5495aa.zip
app-arch/7-zip: add USE=-rar
-rw-r--r--app-arch/7-zip/7-zip-21.07-r1.ebuild (renamed from app-arch/7-zip/7-zip-21.07.ebuild)5
1 files changed, 3 insertions, 2 deletions
diff --git a/app-arch/7-zip/7-zip-21.07.ebuild b/app-arch/7-zip/7-zip-21.07-r1.ebuild
index 86d7287..6fe8cb5 100644
--- a/app-arch/7-zip/7-zip-21.07.ebuild
+++ b/app-arch/7-zip/7-zip-21.07-r1.ebuild
@@ -12,10 +12,10 @@ DESCRIPTION="File archiver with a high compression ratio"
HOMEPAGE="https://7-zip.org/"
SRC_URI="https://7-zip.org/a/7z${MY_PV}-src.tar.xz"
-LICENSE="LGPL-2.1+"
+LICENSE="LGPL-2.1+ BSD rar? ( unRAR )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="+asm"
+IUSE="+asm rar"
BDEPEND="
asm? ( dev-lang/jwasm )
@@ -44,6 +44,7 @@ src_compile() {
einfo "asm is not supported on this arch, ignoring"
fi
fi
+ use rar || myemakeargs+=(DISABLE_RAR=1)
mkdir -p b/g || die
emake -f ../../cmpl_gcc.mak "${myemakeargs[@]}"
}