svn commit: r406270 - in head/security/john: . files
Kurt Jaeger
pi at FreeBSD.org
Sat Jan 16 19:25:50 UTC 2016
Author: pi
Date: Sat Jan 16 19:25:48 2016
New Revision: 406270
URL: https://svnweb.freebsd.org/changeset/ports/406270
Log:
security/john: Fix OPENMP option having no effect
PR: 204903
Submitted by: John W. O'Brien <john at saltant.com>, w.schwarzenfeld at aon.at
Approved by: danfe (maintainer timeout)
Added:
head/security/john/files/patch-src_params.h
- copied, changed from r406269, head/security/john/files/patch-params.h
Deleted:
head/security/john/files/patch-params.h
Modified:
head/security/john/Makefile
Modified: head/security/john/Makefile
==============================================================================
--- head/security/john/Makefile Sat Jan 16 19:24:31 2016 (r406269)
+++ head/security/john/Makefile Sat Jan 16 19:25:48 2016 (r406270)
@@ -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 EXTERN
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
Copied and modified: head/security/john/files/patch-src_params.h (from r406269, head/security/john/files/patch-params.h)
==============================================================================
--- head/security/john/files/patch-params.h Sat Jan 16 19:24:31 2016 (r406269, copy source)
+++ head/security/john/files/patch-src_params.h Sat Jan 16 19:25:48 2016 (r406270)
@@ -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.
*/
More information about the svn-ports-head
mailing list