summaryrefslogtreecommitdiff
path: root/security/john
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2016-01-16 19:25:48 +0000
committerKurt Jaeger <pi@FreeBSD.org>2016-01-16 19:25:48 +0000
commita31003662f52d15bdba25ee851202fbebfddfe1f (patch)
tree1946964500920648fcf25ab268cd0b619b64b7d4 /security/john
parentThis is Python module for RAR archive reading. The interface is made (diff)
security/john: Fix OPENMP option having no effect
PR: 204903 Submitted by: John W. O'Brien <john@saltant.com>, w.schwarzenfeld@aon.at Approved by: danfe (maintainer timeout)
Notes
Notes: svn path=/head/; revision=406270
Diffstat (limited to 'security/john')
-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.
*/