aboutsummaryrefslogtreecommitdiffstats
path: root/security/ADMsmb
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2003-11-21 07:06:45 +0800
committerpav <pav@FreeBSD.org>2003-11-21 07:06:45 +0800
commit2060b1148681e15acbc60af18efd45b81484e6bb (patch)
treed4ec858386622d3b18d750da9271672d1cfa9218 /security/ADMsmb
parent5a99c1f02db281fbb0aa18dafa5edcc22b044a63 (diff)
downloadfreebsd-ports-gnome-2060b1148681e15acbc60af18efd45b81484e6bb.tar.gz
freebsd-ports-gnome-2060b1148681e15acbc60af18efd45b81484e6bb.tar.zst
freebsd-ports-gnome-2060b1148681e15acbc60af18efd45b81484e6bb.zip
- 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)
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