diff --git a/security/john/Makefile b/security/john/Makefile index 33f357d924b..3f0ae146683 100644 --- a/security/john/Makefile +++ b/security/john/Makefile @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.45 2011/11/26 10:31:37 benoit Exp $ +# $OpenBSD: Makefile,v 1.46 2012/04/13 09:12:21 naddy Exp $ COMMENT = extremely fast password cracker DISTNAME = john-1.7.9 +REVISION = 0 CATEGORIES = security HOMEPAGE = http://www.openwall.com/john/ @@ -22,12 +23,13 @@ MASTER_SITES = ${HOMEPAGE}/g/ WRKSRC = ${WRKDIST}/src MAKE_FLAGS = CC=${CC} AS=${CC} LD=${CC} \ - CFLAGS="${CFLAGS} -c" LDFLAGS="${LDFLAGS}" + CFLAGS="${CFLAGS} -c" LDFLAGS="${LDFLAGS}" \ + OPT_NORMAL="" OPT_INLINE="" REGRESS_TARGET = check .if ${MACHINE_ARCH} == "i386" -ALL_TARGET= openbsd-x86-mmx +ALL_TARGET= openbsd-x86-any .elif ${MACHINE_ARCH} == "amd64" ALL_TARGET= openbsd-x86-64 .elif ${MACHINE_ARCH} == "sparc" diff --git a/security/john/patches/patch-src_Makefile b/security/john/patches/patch-src_Makefile index b2666348bae..51569832cb9 100644 --- a/security/john/patches/patch-src_Makefile +++ b/security/john/patches/patch-src_Makefile @@ -1,21 +1,13 @@ -$OpenBSD: patch-src_Makefile,v 1.9 2011/11/26 10:31:39 benoit Exp $ ---- src/Makefile.orig Wed Nov 23 01:19:21 2011 -+++ src/Makefile Fri Nov 25 18:30:51 2011 -@@ -325,7 +325,7 @@ freebsd-x86-any-a.out: - $(LN) x86-any.h arch.h - $(MAKE) $(PROJ) \ - JOHN_OBJS="$(JOHN_OBJS) x86.o" \ -- ASFLAGS="$(ASFLAGS) -DUNDERSCORES -DALIGN_LOG -DBSD" -+ ASFLAGS="$(ASFLAGS) -DBSD" +$OpenBSD: patch-src_Makefile,v 1.10 2012/04/13 09:12:21 naddy Exp $ +--- src/Makefile.orig Thu Apr 12 12:57:24 2012 ++++ src/Makefile Thu Apr 12 12:58:14 2012 +@@ -389,8 +389,7 @@ openbsd-ppc64: - freebsd-alpha: - $(LN) alpha.h arch.h -@@ -359,7 +359,7 @@ openbsd-x86-any-a.out: - $(LN) x86-any.h arch.h - $(MAKE) $(PROJ) \ - JOHN_OBJS="$(JOHN_OBJS) x86.o" \ -- ASFLAGS="$(ASFLAGS) -DUNDERSCORES -DALIGN_LOG -DBSD" -+ ASFLAGS="$(ASFLAGS) -DALIGN_LOG -DBSD" + openbsd-pa-risc: + $(LN) pa-risc.h arch.h +- $(MAKE) $(PROJ) \ +- CFLAGS="-c -Wall -O3 -fomit-frame-pointer" ++ $(MAKE) $(PROJ) - openbsd-alpha: - $(LN) alpha.h arch.h + openbsd-vax: + $(LN) vax.h arch.h