john: use the right preprocessor

Closes: #11030 [via git-merge-pr]
This commit is contained in:
newbluemoon 2018-01-22 09:28:43 +01:00 committed by Toyam Cox
parent fb0930f5d0
commit 547da9bb12

View file

@ -1,7 +1,7 @@
# Template file for 'john'
pkgname=john
version=1.8.0
revision=8
revision=9
_jumbover=1
wrksrc="${pkgname}-${version}-jumbo-${_jumbover}"
build_wrksrc="src"
@ -20,6 +20,7 @@ checksum=bac93d025995a051f055adbd7ce2f1975676cac6c74a6c7a3ee4cfdd9c160923
pre_configure() {
rm rawSHA0_fmt_plug.c # SHA no longer available in libressl
sed -i 's|des_|DES_|g' KRB4*.c
sed -i -e 's|^$CPP|$CC -E|' configure
export AS= LD=
export OPENSSL_LIBS="-lssl -lcrypto"
CFLAGS+=" -DJOHN_SYSTEMWIDE=1"