--- a/ashcat-6.2.1-r1.ebuild 2021-05-29 10:09:32.000000000 +0300 +++ b/hashcat-6.2.1-r1.ebuild 2021-07-26 06:53:51.474203068 +0300 @@ -17,7 +17,7 @@ SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz" fi -IUSE="brain video_cards_nvidia" +IUSE="brain video_cards_nvidia +system-zlib" DEPEND=" app-arch/lzma app-arch/unrar @@ -68,7 +68,7 @@ USE_SYSTEM_LZMA=0 \ USE_SYSTEM_OPENCL=1 \ USE_SYSTEM_UNRAR=0 \ - USE_SYSTEM_ZLIB=1 \ + USE_SYSTEM_ZLIB=$(usex system-zlib 1 0) \ USE_SYSTEM_XXHASH=1 \ VERSION_PURE="${PV}" @@ -84,7 +84,7 @@ einfo "To run these tests, portage likely must be in the video group." einfo "Please run \"gpasswd -a portage video\" if the tests will fail" fi - #elif use vidia_cards_fglrx; then + #elif use video_cards_fglrx; then # addwrite /dev/ati fi #this always exits with 255 despite success @@ -101,7 +101,7 @@ USE_SYSTEM_LZMA=0 \ USE_SYSTEM_OPENCL=1 \ USE_SYSTEM_UNRAR=1 \ - USE_SYSTEM_ZLIB=1 \ + USE_SYSTEM_ZLIB=$(usex system-zlib 1 0) \ USE_SYSTEM_XXHASH=1 \ VERSION_PURE="${PV}" \ install