diff options
author | lifanov <lifanov@FreeBSD.org> | 2016-12-15 22:18:40 +0800 |
---|---|---|
committer | lifanov <lifanov@FreeBSD.org> | 2016-12-15 22:18:40 +0800 |
commit | 5c4520514cce4599303b0c244678789b3cc350a2 (patch) | |
tree | cb4fe29c046c8053e9e403a5c67e949c9225ad73 /security/hashcat-legacy | |
parent | 9726c95c9b7d381cd12c0d04c8940cca752d0b72 (diff) | |
download | freebsd-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/Makefile | 3 |
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 |