Index: head/security/mdcrack/Makefile =================================================================== --- head/security/mdcrack/Makefile (revision 387487) +++ head/security/mdcrack/Makefile (revision 387488) @@ -1,16 +1,28 @@ # Created by: Ying-Chieh Liao # $FreeBSD$ PORTNAME= mdcrack PORTVERSION= 1.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://membres.lycos.fr/mdcrack/download/ MAINTAINER= lasg@lasg.dk COMMENT= Bruteforce password MD5 hashes ALL_TARGET= little PLIST_FILES= bin/mdcrack -.include +USES= compiler:features + +.include + +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 36 +post-patch: + @${REINPLACE_CMD} -e 's|-fforce-addr||' ${WRKSRC}/Makefile +.endif + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include