Index: ports/security/hydra/Makefile =================================================================== RCS file: /home/pcvs/ports/security/hydra/Makefile,v retrieving revision 1.3 diff -u -u -r1.3 Makefile --- ports/security/hydra/Makefile 16 Oct 2003 01:26:37 -0000 1.3 +++ ports/security/hydra/Makefile 18 Oct 2003 20:49:58 -0000 @@ -8,6 +8,7 @@ PORTNAME= hydra PORTVERSION= 2.2 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.thc.org/releases/ \ ${MASTER_SITE_PACKETSTORM} @@ -16,17 +17,15 @@ MAINTAINER= llevier@argosnet.com COMMENT= Bruce Force Attack Utility working on multiple network services -.include - +USE_REINPLACE= yes GNU_CONFIGURE= yes -.if ${OSVERSION} >= 501000 -BROKEN= "Does not compile" -.endif +post-patch: + @${REINPLACE_CMD} -e 's|CC = gcc||; \ + s|-O2|${CFLAGS}|' \ + ${WRKSRC}/Makefile.am -.if !target(post-install) && (${PORTNAME} == "hydra") -post-install: - @${STRIP_CMD} ${PREFIX}/bin/hydra -.endif +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/hydra ${PREFIX}/bin -.include +.include