Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Dec 2016 14:18:41 +0000 (UTC)
From:      Nikolai Lifanov <lifanov@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r428617 - head/security/hashcat-legacy
Message-ID:  <201612151418.uBFEIfHQ034197@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lifanov
Date: Thu Dec 15 14:18:40 2016
New Revision: 428617
URL: https://svnweb.freebsd.org/changeset/ports/428617

Log:
  security/hashcat-legacy: fix if lang/gccXX is installed and lang/gcc is not
  
  PR:		215184
  Submitted by:	John Hein
  Reported by:	John Hein
  Reviewed by:	matthew
  Approved by:	matthew (mentor)
  Differential Revision:	https://reviews.freebsd.org/D8798

Modified:
  head/security/hashcat-legacy/Makefile

Modified: head/security/hashcat-legacy/Makefile
==============================================================================
--- head/security/hashcat-legacy/Makefile	Thu Dec 15 13:38:21 2016	(r428616)
+++ head/security/hashcat-legacy/Makefile	Thu Dec 15 14:18:40 2016	(r428617)
@@ -28,6 +28,9 @@ ONLY_FOR_ARCHS_REASON=	uses amd64 instru
 
 ALL_TARGET=	posix64 posixXOP
 
+post-patch:
+	@${REINPLACE_CMD} -r 's|^(CC_.*[[:blank:]]*=[[:blank:]]*)gcc[[:blank:]]*$$|\1${CC}|' ${WRKSRC}/src/Makefile
+
 do-install:
 .for v in 64 XOP
 	${INSTALL_PROGRAM} ${WRKSRC}/hashcat-cli${v}.bin ${STAGEDIR}${LOCALBASE}/bin



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