Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jan 2016 19:25:48 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r406270 - in head/security/john: . files
Message-ID:  <201601161925.u0GJPmUS082597@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@saltant.com>, w.schwarzenfeld@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.
   */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601161925.u0GJPmUS082597>