aboutsummaryrefslogtreecommitdiff
path: root/security/ADMsmb
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2003-11-20 23:06:45 +0000
committerPav Lucistnik <pav@FreeBSD.org>2003-11-20 23:06:45 +0000
commit22f9406fd126d49a7bf47c3e858ec215765b31dc (patch)
tree8875efd7b65ae5340fc289f056ec4018839c8180 /security/ADMsmb
parent601d08c1d1c470a6b9578ffd9b0979017fc4cab0 (diff)
downloadports-22f9406fd126d49a7bf47c3e858ec215765b31dc.tar.gz
ports-22f9406fd126d49a7bf47c3e858ec215765b31dc.zip
Notes
Diffstat (limited to 'security/ADMsmb')
-rw-r--r--security/ADMsmb/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/security/ADMsmb/Makefile b/security/ADMsmb/Makefile
index bbb9cd6013f3..adba4febd902 100644
--- a/security/ADMsmb/Makefile
+++ b/security/ADMsmb/Makefile
@@ -15,6 +15,12 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Security scanner for Samba
+USE_REINPLACE= yes
+
+post-patch:
+ @${FIND} ${WRKSRC} -name "*.o" -delete
+ @${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/Makefile
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ADMsmb ${PREFIX}/bin
${MKDIR} ${PREFIX}/share/ADMsmb