summaryrefslogtreecommitdiff
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
parent- Update sound package to 0.3.9 (diff)
- Author included object files in distfile. Get rid of them otherwise
build fails on non-i386 platforms. - Respect CFLAGS Submitted by: Koop Mast Approved by: adamw (mentor)
Notes
Notes: svn path=/head/; revision=94564
-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