summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2024-03-16 11:21:03 +0200
committerJoonas Niilola <juippis@gentoo.org>2024-03-16 11:26:47 +0200
commit97a9222f13c5a0bf0283faef25fa9d75633315da (patch)
tree0ad683924a6852501f426b14998f354c4f70c91d /app-crypt/pkcrack
parentapp-crypt/pkcrack: Fix return with no value, in function (diff)
downloadgentoo-97a9222f13c5a0bf0283faef25fa9d75633315da.tar.gz
gentoo-97a9222f13c5a0bf0283faef25fa9d75633315da.tar.bz2
gentoo-97a9222f13c5a0bf0283faef25fa9d75633315da.zip
app-crypt/pkcrack: add missing dies
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-crypt/pkcrack')
-rw-r--r--app-crypt/pkcrack/pkcrack-1.2.2-r2.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/app-crypt/pkcrack/pkcrack-1.2.2-r2.ebuild b/app-crypt/pkcrack/pkcrack-1.2.2-r2.ebuild
index 5136a4111629..877601fbf5eb 100644
--- a/app-crypt/pkcrack/pkcrack-1.2.2-r2.ebuild
+++ b/app-crypt/pkcrack/pkcrack-1.2.2-r2.ebuild
@@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
+
inherit toolchain-funcs
DESCRIPTION="PkZip cipher breaker"
@@ -34,18 +35,18 @@ PATCHES=(
)
src_compile() {
- cd src
+ cd src || die
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}" all
}
src_test() {
- cd test
+ cd test || die
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}" all
}
src_install() {
einstalldocs
- cd src
+ cd src || die
dobin pkcrack zipdecrypt findkey makekey
newbin extract "${PN}-extract"
}