aboutsummaryrefslogtreecommitdiffstats
path: root/security/hashcat-legacy
diff options
context:
space:
mode:
authorlifanov <lifanov@FreeBSD.org>2016-12-15 22:18:40 +0800
committerlifanov <lifanov@FreeBSD.org>2016-12-15 22:18:40 +0800
commit5c4520514cce4599303b0c244678789b3cc350a2 (patch)
treecb4fe29c046c8053e9e403a5c67e949c9225ad73 /security/hashcat-legacy
parent9726c95c9b7d381cd12c0d04c8940cca752d0b72 (diff)
downloadfreebsd-ports-gnome-5c4520514cce4599303b0c244678789b3cc350a2.tar.gz
freebsd-ports-gnome-5c4520514cce4599303b0c244678789b3cc350a2.tar.zst
freebsd-ports-gnome-5c4520514cce4599303b0c244678789b3cc350a2.zip
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
Diffstat (limited to 'security/hashcat-legacy')
-rw-r--r--security/hashcat-legacy/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/security/hashcat-legacy/Makefile b/security/hashcat-legacy/Makefile
index b2620a06998f..611a62d773db 100644
--- a/security/hashcat-legacy/Makefile
+++ b/security/hashcat-legacy/Makefile
@@ -28,6 +28,9 @@ ONLY_FOR_ARCHS_REASON= uses amd64 instructions
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