diff options
-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[@]}" } |