diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2003-11-20 23:06:45 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2003-11-20 23:06:45 +0000 |
commit | 22f9406fd126d49a7bf47c3e858ec215765b31dc (patch) | |
tree | 8875efd7b65ae5340fc289f056ec4018839c8180 /security | |
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
Diffstat (limited to 'security')
-rw-r--r-- | security/ADMsmb/Makefile | 6 |
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 |