svn commit: r428617 - head/security/hashcat-legacy

Nikolai Lifanov lifanov at FreeBSD.org
Thu Dec 15 14:18:42 UTC 2016


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


More information about the svn-ports-head mailing list