summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/john/Makefile7
-rw-r--r--security/john/files/patch-src_params.h (renamed from security/john/files/patch-params.h)4
2 files changed, 8 insertions, 3 deletions
diff --git a/security/john/Makefile b/security/john/Makefile
index 1f0689b4b0c2..5bf56efc4ddd 100644
--- a/security/john/Makefile
+++ b/security/john/Makefile
@@ -3,7 +3,7 @@
PORTNAME= john
DISTVERSION= 1.7.9-jumbo-7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://www.openwall.com/john/g/ \
http://mirrors.kernel.org/openwall/projects/john/${DISTVERSION:C/-.*//}/ \
@@ -38,6 +38,7 @@ PORTDOCS= CHANGES CONFIG EXAMPLES EXTERNAL FAQ MODES OPTIONS README \
OPTIONS_DEFINE= OPENMP DOCS
OPENMP_DESC= Compile with OpenMP support
+OPENMP_USES= compiler:openmp
.include <bsd.port.pre.mk>
@@ -59,6 +60,10 @@ ALL_TARGET= generic
BROKEN= Does not compile on sparc64
.endif
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
+CFLAGS+= -flax-vector-conversions
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|= gcc|= ${CC}|' \
-e '/^CFLAGS =/s|-O2|${CFLAGS}|' ${WRKSRC}/src/Makefile
diff --git a/security/john/files/patch-params.h b/security/john/files/patch-src_params.h
index 206e9cc7accf..fa6b9d082415 100644
--- a/security/john/files/patch-params.h
+++ b/security/john/files/patch-src_params.h
@@ -1,6 +1,6 @@
---- src/params.h.orig
+--- src/params.h.orig 2012-09-20 14:35:00 UTC
+++ src/params.h
-@@ -101,7 +101,11 @@
+@@ -134,7 +134,11 @@
/*
* File names.
*/